Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Joseph Toman
Not Finding Groovy Code in Jars
October 10, 2011 9:51 AM
Answer

Joseph Toman

Rank: New Member

Posts: 23

Join Date: January 28, 2011

Recent Posts

I've been writing small portlets in Groovy, but recently had to write a portlet that makes an XML-RPC call to a 3rd party service. I'm having problems with the portlet finding Groovy code that is either in a jar in the WEB-INF/lib directory from a GroovyPortlet , or Groovy class files that are in WEB-INF/classes from a standard MVCPortlet derived portlet. My understanding was that code in either of these places was in the classpath. Am I mistaken? I'm developing in LIDE and it has no trouble resolving dependencies in these projects, but when I redeploy the war file I get an error about my import statements for the Groovy classes. Any suggestions would be much appreciated.
Justin Beloy
RE: Not Finding Groovy Code in Jars
September 17, 2012 3:42 PM
Answer

Justin Beloy

Rank: New Member

Posts: 5

Join Date: September 7, 2012

Recent Posts

Having same issue.
Any resolution?