Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundError java.util$List on new instance of a annotated @Entity class #144

Open
ghost opened this issue Jun 25, 2012 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 25, 2012

Hi,

When I want to make a new instance of an annotated @entity class the class loader throws an ClassNotFoundError for the java.util$List.

I use the Gaelyk 1.2 project template and I added a new simple entity class (a User with login and password attributes).
Then I compile with gradlew clean compileGroovy and run with gradlew gaeRun

Thanks

@musketyr
Copy link
Contributor

musketyr commented Aug 2, 2012

could you send a demo project causing this issue, please?

@ghost
Copy link
Author

ghost commented Aug 2, 2012

Hi, you can find the sample project here : https://groups.google.com/d/topic/gaelyk/XnN-p1uHCqM/discussion

@musketyr
Copy link
Contributor

strange, the same exception is thrown even w/o @entity annotations present

@chiquitinxx
Copy link

I get error too. The User class is not generated right. Works fine if you put the code of the entity inside the groovlet. You can get get more info of the error if you do out.print(User.class.name), you get better stacktrace. this happens in 2.X?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants