ludoch / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

java.lang.ClassCircularityError: com/google/apphosting/api/ApiProxy when running appengine:devserver #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to upgrade from 1.7.4 to latest 1.7.5 but when running 
appengine:devserver I get:

INFO] INFO: Successfully processed 
/Users/marceloverdijk/workspace/mostpopularfc/target/mostpopularfc-0.1-SNAPSHOT/
WEB-INF/appengine-web.xml
[INFO] Feb 20, 2013 12:25:15 PM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
[INFO] INFO: Successfully processed 
/Users/marceloverdijk/workspace/mostpopularfc/target/mostpopularfc-0.1-SNAPSHOT/
WEB-INF/web.xml
[INFO] Exception in thread "main" java.lang.ClassCircularityError: 
com/google/apphosting/api/ApiProxy
[INFO]  at 
com.google.appengine.tools.development.DevAppServerImpl.getCurrentAppContext(Dev
AppServerImpl.java:357)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager
.isDevAppServerThread(DevAppServerFactory.java:340)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager
.checkPermission(DevAppServerFactory.java:284)
[INFO]  at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
[INFO]  at java.io.File.isFile(File.java:827)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.findRdbmsPro
pertiesFile(DevAppServerMain.java:413)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.setRdbmsProp
ertiesFile(DevAppServerMain.java:395)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevApp
ServerMain.java:329)
[INFO]  at 
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.
java:269)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.ja
va:245)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.162s
[INFO] Finished at: Wed Feb 20 12:25:15 CET 2013
[INFO] Final Memory: 29M/361M
[INFO] ------------------------------------------------------------------------

Don't know if this is related to the appengine maven plugin or appengine itself?

Original issue reported on code.google.com by mar...@overdijk.me on 20 Feb 2013 at 11:32

GoogleCodeExporter commented 9 years ago
Can you check to see if you are currently depending on anything in 1.7.4?  From 
a freshly created 1.7.5 guestbook-archetype I can't reproduce this.  Have you 
tried running mvn clean? 

Original comment by matts...@google.com on 27 Feb 2013 at 7:43

GoogleCodeExporter commented 9 years ago
Marcel,
Are you using the noverify flag?  It seems like that might be causing some 
issues.  As of right now, it looks like all of the people who have approached 
us with this issue had the -noverify flag enabled.  Let me know.

Original comment by matts...@google.com on 28 Feb 2013 at 9:37

GoogleCodeExporter commented 9 years ago
Hi Matt,

I've indeed configured the -noverify option.

^M

Original comment by marceloverdijk on 28 Feb 2013 at 10:37

GoogleCodeExporter commented 9 years ago
I think that's the cause, try it without it.  We're working on some changes for 
1.7.6 that are more permanent.

Original comment by matts...@google.com on 28 Feb 2013 at 11:47

GoogleCodeExporter commented 9 years ago
I'm using it conjunction with JRebel, however I don't know if it's actually 
needed.
Also found this reference on the JRebel forum which might be interesting:
http://zeroturnaround.com/forums/topic/broken-integration-for-google-app-engine-
1-7-5-devserver/

Original comment by marceloverdijk on 1 Mar 2013 at 8:19

GoogleCodeExporter commented 9 years ago
I've removed the -noverify option but still see the same 
java.lang.ClassCircularityError: com/google/apphosting/api/ApiProxy exception.

Original comment by mar...@overdijk.me on 1 Mar 2013 at 10:08

GoogleCodeExporter commented 9 years ago
I've just upgraded to the latest JRebel 5.2.0 and the ClassCircularityError is 
gone now.

Original comment by mar...@overdijk.me on 6 Mar 2013 at 5:39

GoogleCodeExporter commented 9 years ago
Will push a version today where this should be fixed.

Original comment by matts...@google.com on 19 Mar 2013 at 8:37