eclipse - java.lang.NoClassDefFoundError: com/sun/tools/javac/Main -
i have app deployed on heroku. imported , runned locally. please me error. can't figure out , solve this. error when run app. in heroku don't have error.
java.lang.noclassdeffounderror: com/sun/tools/javac/main @ net.integrio.db.factory.compiled.compiler.compile(compiler.java:14) @ net.integrio.db.factory.compiled.implementationclassbuilder.buildclassfor( implementationclassbuilder.java:56) @ net.integrio.db.factory.compiled.implementationcache.getcompiledfactory( implementationcache.java:28) @ net.integrio.db.factory.compiled.compiledfactorysupport.<init>(compiledfactorysupport.java:92) @ net.integrio.db.factory.compiled.compiledfactorysupport.<init>(compiledfactorysupport.java:84) @ net.integrio.db.factory.compiled.compiledfactorysupport.<init>(compiledfactorysupport.java:68) @ com.getworkers.messages.incoming.incomingmessagesfactory.<init>(incomingmessagesfactory.java:13) @ com.getworkers.utils.cron.incomingmessageprocessor.execute(incomingmessageprocessor.java:31) @ net.integrio.timers.timer.sendevent0(timer.java:48) @ com.getworkers.utils.cron.incomingmessageprocessor.sendevent0(incomingmessageprocessor.java:68) @ net.integrio.timers.timer$1.run(timer.java:61) caused by: java.lang.classnotfoundexception: com.sun.tools.javac.main @ java.net.urlclassloader$1.run(urlclassloader.java:372) @ java.net.urlclassloader$1.run(urlclassloader.java:361) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:360) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:357)
i think might come difference of version jdk or javac. maybe should check you're using same jdk version on desktop on heroku, , if not, change accordingly on laptop. hope !
Comments
Post a Comment