<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>About Digester:</span></div><div><span>I
found out that the digester class was imported from gwt-dev-2.4.0.jar,
so i deleted it and eclipse changed it's source to commons 1.8 but the
same error remained.</span></div><div><br><span></span></div><div><span>Logs and modules</span></div><div><span>i allways choose all <a target="_blank" href="http://ubuntuone.com/1GfetfcHnqIGuzPu5pCeq3"><span class="yshortcuts" id="lw_1329920848_0">http://ubuntuone.com/1GfetfcHnqIGuzPu5pCeq3</span></a><br></span></div><div><br></div><div>Ant</div><div>classpath points to ant-opencms-1.2. However that's not a problem anymore.:@. I get this new error</div>BUILD FAILED<br>/home/alexandru/workspace/OpenCms/modules/build.xml:197: The following error occurred while executing this line:<br>/home/alexandru/workspace/OpenCms/build.xml:170:
java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError:
org/apache/openjpa/enhance/PersistenceCapable<div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"><b><span style="font-weight:bold;"></span></b></font><br></div>
Hi,<br><br>please see the comments inside your mail. What's up tp Problem1, did you solve it?<br><br>Am 22.02.2012 13:35, schrieb Alexandru:<br><br>> i selected every module. here are the logs<br>> http://ubuntuone.com/7e1dpbM2DDZujwWySf9qya<br>Problem3:<br>The setup log tells me that the sitemap module (org.opencms.ade.sitemap) was not installed, also the error messages inside the opencms log look like there is missing the sitemap module. Please make sure it is build successfully and selected during installation.<br><br>> the apache digester classpath lloks ok to me in windows>pref>ant>runtime<br>> http://ubuntuone.com/77aCoCF9NZzupCE1xAbvaD<br>Problem2:<br>If your project inside eclipse is stored in the folder: "{workplace}\OpenCms", what I assume, the global entries are looking fine so far. Please check also if the external tools configuration for your build does not override those referenced jars. To do so perform the following
steps: Right click on the "{workplace}\OpenCms\modules\build.xml" -> Run as -> External Tools Configurations... Switch to the Classpath tab and check the referenced jars.<br><br>Good luck<br><br>> Hi,<br>> <br>> Problem1:<br>> Your IDE somehow refers the wrong version of the apache commons digester<br>> -> Check the configured class path of the project and the window<br>> preferences in eclipse<br>> <br>> Problem2:<br>> Suggestion: Eclipse->Window->Pfeferences->Ant->Runtime->Global Entries<br>> refers to the wrong version of ant-opencms-1.1.jar or another classpath<br>> config for ant is stronger than the build.xml<br>> <br>> Problem3:<br>> More infos needed! opencms.log / setup.log / Which modules did you<br>> select during installation, did you also build the modules-v8 project,<br>> otherwise there will not be a demo content available and 404 makes sense.<br>> <br>> Hope
that helps!<br>> Rüdiger<br>> <br>> Am 21.02.2012 15:43, schrieb Alexandru:<br>> > I downloaded the latest sources from git and then created a new java<br>> > project in eclipse. Copy-pasted all the files from opencms-core to my<br>> > eclipse opencms project. Done a refresh,configured src and lib folders<br>> > and ant's runtime properites. All went well, except<br>> > Problem 1: src/org.opencms/configuration/CmsSetNextRule.java gives this<br>> > error at line 192: The method pushParams(Object) from the type Digester<br>> > is not visible<br>> > Problem 2:Trying to build a war with /modules/build.xml gives this<br>> > error: Variable references non-existent resource :<br>> > ${workspace_loc:/OpenCms/lib/compile/ant-opencms-1.1.jar}. I don't even<br>> > have ant-opencms-1.1.jar. My jar version is -1.2.jar! And the
build file<br>> > clearly specifies that: <pathelement<br>> > location="${opencms.input.libs.compile}/ant-opencms-1.2.jar" />.<br>> > * So i decided to do a build from the terminal and everything seemed to<br>> > work. It took 14 min to compile the modules. I then copied the war in<br>> > the tomcat/webapps dir ant started the server. Problem 3:The<br>> > installation process went well, but when it reopened the site for me in<br>> > another window it gave me error 404.<br>> ><br>> > The /system/login page worked fine at least. Bottom line is that my site<br>> > is still unusable, and the ide integration has failed even though i<br>> > followed the instructions from here<br>> > http://opencms-wiki.org/Developing_OpenCms_with_Eclipse<br><br>-- Kind
Regards,<br>Rüdiger.<br><br>-------------------<br><br>Rüdiger Kurz<br><br>Alkacon Software GmbH - The OpenCms Experts<br>http://www.alkacon.com - http://www.opencms.org<br><br><br> </div> </div> </div></body></html>