This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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