aspose file tools*
The moose likes Groovy and the fly likes Very weird problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Very weird problem" Watch "Very weird problem" New topic
Author

Very weird problem

James Daniel
Ranch Hand

Joined: Sep 24, 2004
Posts: 80
I am experiencing a very weird problem. I have created a jar containing many classes to be called via Groovy within Hudson/Jenkins or via commandline to main method. I used the Maven Assembly plug-in so all the dependencies are contained within. It works great on most methods. The "weirdness" is when I try to call a DAO object that utilizes org.apache.commons.beanutils.RowSetDynaClass. When I instantiate the RowSetDynaClass constructor, I get method does not exist. This ONLY occurs when calling via Groovy. It does not happen when I call via commandline. Anyone know why is this occurring?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Very weird problem