File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Very weird problem" Watch "Very weird problem" New topic

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?
I agree. Here's the link:
subject: Very weird problem
It's not a secret anymore!