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
mimah opened this Issue Jun 25, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@mimah

mimah 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

This comment has been minimized.

Show comment
Hide comment
@musketyr

musketyr Aug 2, 2012

Contributor

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

Contributor

musketyr commented Aug 2, 2012

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

@mimah

This comment has been minimized.

Show comment
Hide comment
@mimah

mimah commented Aug 2, 2012

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

@musketyr

This comment has been minimized.

Show comment
Hide comment
@musketyr

musketyr Dec 20, 2012

Contributor

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

Contributor

musketyr commented Dec 20, 2012

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

@chiquitinxx

This comment has been minimized.

Show comment
Hide comment
@chiquitinxx

chiquitinxx Dec 11, 2013

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?

chiquitinxx commented Dec 11, 2013

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