<div dir="ltr">Hi,<div>I'm working on a module with Actionclass and trying to work on it in Eclipse.</div><div>I have installed the RedStar openCMS developer plugin (v0.0.9) </div><div>but when I open a new OpenCMS project in eclipse and trying to "Fetch" the modules list I get the following error:</div>
<div><br></div><div>=======</div><div><div>java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>java.lang.reflect.InvocationTargetException</div><div>  org.eclipse.core.runtime.CoreException: java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>    java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>    Cannot upgrade Runlevel of OpenCms</div><div>      java.lang.reflect.InvocationTargetException</div><div>      java.lang.reflect.InvocationTargetException</div><div>        java.lang.ExceptionInInitializerError</div>
<div>        java.lang.ExceptionInInitializerError</div><div>          java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>          A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>    java.lang.RuntimeException: Cannot upgrade Runlevel of OpenCms</div><div>    Cannot upgrade Runlevel of OpenCms</div><div>      java.lang.reflect.InvocationTargetException</div><div>      java.lang.reflect.InvocationTargetException</div>
<div>        java.lang.ExceptionInInitializerError</div><div>        java.lang.ExceptionInInitializerError</div><div>          java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
<div>          A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []</div>
</div><div>=========</div><div><br></div><div>if I try to fetch again I get the following error:</div><div>=========</div><div><div>java.lang.LinkageError: loader constraint violation: when resolving method "info.rsdev.eclipse.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V" the class loader (instance of info/rsdev/eclipse/opencms/module/developer/loader/OpenCmsClassLoader) of the current class, org/opencms/main/Communicator, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, info/rsdev/eclipse/opencms/module/developer/compatibility/CmsCompatibilityHelper, have different Class objects for the type se.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V used in the signature</div>
<div>java.lang.reflect.InvocationTargetException</div><div>  java.lang.LinkageError: loader constraint violation: when resolving method "info.rsdev.eclipse.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V" the class loader (instance of info/rsdev/eclipse/opencms/module/developer/loader/OpenCmsClassLoader) of the current class, org/opencms/main/Communicator, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, info/rsdev/eclipse/opencms/module/developer/compatibility/CmsCompatibilityHelper, have different Class objects for the type se.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V used in the signature</div>
<div>  loader constraint violation: when resolving method "info.rsdev.eclipse.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V" the class loader (instance of info/rsdev/eclipse/opencms/module/developer/loader/OpenCmsClassLoader) of the current class, org/opencms/main/Communicator, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, info/rsdev/eclipse/opencms/module/developer/compatibility/CmsCompatibilityHelper, have different Class objects for the type se.opencms.module.developer.compatibility.CmsCompatibilityHelper.initCmsSystemInfo(Lorg/opencms/main/CmsSystemInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V used in the signature</div>
</div><div>===============</div><div><br></div><div>This is my configuration and environment:</div><div>Ubuntu 14.04</div><div>Tomcat 7.0.52</div><div>Apache 2.4.7</div><div>OpenCMS 9.0.1</div><div>OpenCMS Developer Plugin 0.0.9 with the following configuration - </div>
<div>WEB-INF directory path: /var/lib/tomcat7/webapps/ROOT/WEB-INF</div><div>additional classpath jars:</div><div>/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/commons-codec-1.6.jar<br></div><div>/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/lucene-grouping-4.0.3.jar<br>
</div><div>/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/lucene-core-4.0.3.jar<br></div><div><div>/var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/lucene-misc-4.0.3.jar<br></div></div><div>/usr/share/tomcat7/lib/tomcat-api.jar</div>
<div>/usr/share/tomcat7/lib/servlet-api.jar</div><div><div>/usr/share/tomcat7/lib/jsp-api.jar</div></div><div>OpenCMS servlet mapping: *</div><div>OpenCMS context path name: ROOT</div><div><br></div><div>how should I configure the plugin?</div>
<div>is there a new version planned for the plugin?</div><div><br></div><div>thank you very much for your help</div><div><br></div><div><br></div><div><br></div><div><br></div></div>