<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Zoltan,<br>
<br>
The latest openCMS developer plugin (v0.0.9) is not compatible with
opencms 9.0.1!<br>
I (and my friend) have modified the module. It works with opencms 9.0.1
now.<br>
It is tested with postgresql native database, and works OK.<br>
It still has a bug with jpa database drivers.<br>
<br>
I sent the patch to dave schoorl for integration today.<br>
<br>
I will send you the compiled module directly, so you can try it.<br>
<br>
Bye,<br>
Tamas<br>
<br>
<br>
On 06/23/2014 10:02 AM, Dudu Zoltan wrote:
<blockquote
 cite="mid:CADjBQEuGEeMXVZOM1HOSQqXBbvBht554RJxmyoaLMtkOP8c3Ew@mail.gmail.com"
 type="cite">
  <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>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>



  </pre>
</blockquote>
<br>
</body>
</html>