• Source code probelms

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #5434  by weezer316
 
Hi there,

I have downloaded the 4.1 source but I have an error within eclipse that i cant seem to solve. Its in the markers tab and the error text is below

"The type com.sun.star.lang.XEventListener cannot be resolved. It is indirectly referenced from required .class files"

I cannot find a solution at all. I cant find any imports or statements realating to it in the file reference below
/openkm/src/main/java/es/git/openkm/util/DocConverter.java

Anyone seen this error before?

Regards

Wheeler
 #5435  by jllort
 
I remember other post with similar problem. Have you registered all ext-libs ?
 #5440  by weezer316
 
As far as I know! right click-import and then filll in the details.

There is only 2 files in ext-libs, entaged-audioformats-0.15 and install.sh, although im unsure what to do with the install script.

Or am I doing something wrong here?

Wheeler
 #5441  by weezer316
 
Sorry, ignore me, Yes I have registered the entaged-audioformats file via the shell script. Its still giving me the same error, plus this in the console while it tries to build:

"Build errors for openkm; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-3:create (default) on project openkm: An error has occurred while checking scm status."

Any ideas?

I have set the MAVEN_OPTS variable too, so Im not to sure what else im going wrong
 #5445  by jllort
 
close eclipse
go to your console and at openkm checkout folder path
execute:
Code: Select all
 mvn clean
 mvn package
It's right from here ?
 #5468  by weezer316
 
Mmmm.....no. the clean is fine, but when I run mvn package im told my subversion needs to be updated or downgrade this worlking copy. Grrr!

Been messing about all afternoon with some python script that could apparently change the version but to no avail. Even installing other versions makes no differnence

Anyone else had this error? Any ideas? Still getting the same error below:

Build errors for openkm; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-3:create (default) on project openkm: An error has occurred while checking scm status.
 #5485  by weezer316
 
Hi,

Right fixed the svn probelm but I am still having the same 2 errors. They are below.


The project was not built since its build path is incomplete. Cannot find the class file for com.sun.star.lang.XEventListener. Fix the build path then try building this project
The type com.sun.star.lang.XEventListener cannot be resolved. It is indirectly referenced from required .class files DocConverter.java /openkm/src/main/java/es/git/openkm/util

I have even tried downloading jodconverter-2.2.2.jar from sourceforge and then put it in ext-libs. I then import it from the command line with this command:
mvn install:install-file -DgroupId=entagged.audioformats -DartifactId=audioformats -Dversion=0.15 -Dpackaging=jar -Dfile=jodconverter-2.2.2.jar

it says its successful. Now, if it do mvn clean then mvn package I get an error that says I have lcoal modifications and points to the jodconverter-2.2.2.jar in the ext-libs folder and stops. if I remove this from the ext-libs folder it rund through, but I still have they same 2 errors above in Eclipse. Any ideas at all? Am i downloading the wrong jodconverter-2.2.2.jar?

Wheeler

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.