eBay / restcommander

Fast Parallel Async HTTP client as a Service to monitor and manage 10,000 web servers. (Java+Akka)
Apache License 2.0
902 stars 132 forks source link

Is there any solution to ClassFormatException #19

Closed johirbuet closed 7 years ago

johirbuet commented 7 years ago

image I am getting this window again and again. I tried with both mac and windows. I also tried with a number of versions of java starting from 1.7.10. Is there any solution to this problem? Or the current master branch is not actually working?

johirbuet commented 7 years ago

These are the exceptions I am getting tail -f AgentMaster/logs/system.out at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at play.plugins.PluginCollection.loadPlugins(PluginCollection.java:158) at play.Play.init(Play.java:294) at play.server.Server.main(Server.java:158) Caused by: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.(ClassFileReader.java:372) at play.classloading.ApplicationCompiler$1.findType(ApplicationCompiler.java:163) ... 48 more You're running Play! in DEV mode Could not bind on port 9000

jeffpeiyt commented 7 years ago

@johirbuet thanks for trying REST Commander and I am sorry to hear the issue.

I found some similar error messages:

http://stackoverflow.com/questions/27171440/play-framework-1-2-4-error-while-loading-docviewerplugin

Please help to check if the eclipse loaded the JDK 7 rather tan JDK8 in the settings.

REST Commander may need to upgrade to include a later play version to fix the support with JDK 8.

We released Parallec.io as the core library for rest commander as the next generation with several production use cases and sample servers that would make it very easy to make your application to be rest commander in hours.

Thanks,

Jeff

johirbuet commented 7 years ago

So do you suggest using parallec instead of restcommander?

jeffpeiyt commented 7 years ago

@johirbuet Yes I do suggest using Parallec as we made it with all the lessons in REST Commander. We have used Parallec in production in 4+ teams and places in eBay and outside. I have limited support on REST Commander but it has been internally enhanced and maintained by another team for now.

johirbuet commented 7 years ago

Thanks