java - Illegal UTF8 string in constant pool in class file error in IntelliJ -
whenever try run file (java main, cucumber feature, junit test) following error in intellij idea:
information:15/05/2015 14:57 - compilation completed 1 error , 0 warnings in 1s 134ms error:internal error: (java.lang.classformaterror) illegal utf8 string in constant pool in class file org/jetbrains/jps/model/serialization/java/jpsjavamodelserializerextension$javaprojectextensionserializer java.lang.classformaterror: illegal utf8 string in constant pool in class file org/jetbrains/jps/model/serialization/java/jpsjavamodelserializerextension$javaprojectextensionserializer @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(classloader.java:800) @ java.security.secureclassloader.defineclass(secureclassloader.java:142) @ java.net.urlclassloader.defineclass(urlclassloader.java:449) @ java.net.urlclassloader.access$100(urlclassloader.java:71) @ java.net.urlclassloader$1.run(urlclassloader.java:361) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ java.lang.classloader.loadclass(classloader.java:358) @ org.jetbrains.jps.model.serialization.java.jpsjavamodelserializerextension.getprojectextensionserializers(jpsjavamodelserializerextension.java:80) @ org.jetbrains.jps.model.serialization.jpsprojectloader.loadfromdirectory(jpsprojectloader.java:118) @ org.jetbrains.jps.model.serialization.jpsprojectloader.loadproject(jpsprojectloader.java:98) @ org.jetbrains.jps.model.serialization.impl.jpsserializationmanagerimpl.loadmodel(jpsserializationmanagerimpl.java:41) @ org.jetbrains.jps.cmdline.jpsmodelloaderimpl.loadmodel(jpsmodelloaderimpl.java:45) @ org.jetbrains.jps.cmdline.buildrunner.load(buildrunner.java:78) @ org.jetbrains.jps.cmdline.buildsession.runbuild(buildsession.java:265) @ org.jetbrains.jps.cmdline.buildsession.run(buildsession.java:124) @ org.jetbrains.jps.cmdline.buildmain$mymessagehandler$1.run(buildmain.java:242) @ org.jetbrains.jps.service.impl.sharedthreadpoolimpl$1.run(sharedthreadpoolimpl.java:41) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:744)
i tried restarting ide, importing project again nothing worked. did experience error before ?
i have managed fix deleting .intellijidea
folder , reimporting project.
Comments
Post a Comment