openkm / document-management-system

OpenKM is a Open Source Document Management System
https://www.openkm.com/
GNU General Public License v2.0
673 stars 297 forks source link

openkm installation problem #268

Closed belle561 closed 3 years ago

belle561 commented 3 years ago

good evening everyone

i installed openkm on eclipse but it found this error. how to fix this error?

image

darkman97i commented 3 years ago

The main errors are the missing artifacts. Try to build the application from the command line: mvn -Dmaven.test.skip=true clean package

belle561 commented 3 years ago

Hi How to solve the problem? image

darkman97i commented 3 years ago

First update to the latest version because the currently download code is from version 6.2.6. Follow the steps:

Then in the tool bar you should be a build configuration to build the project Selección_021

zohramchiri commented 3 years ago

ok

zohramchiri commented 3 years ago

hello, How to solve the problem?

image

darkman97i commented 3 years ago

What jdk version are you using to start tomcat ... I think might be the problem. Did you downloaded the portable development environment from https://www.openkm.com/en/download.html ?

zohramchiri commented 3 years ago

i use jdk 1.8

darkman97i commented 3 years ago

You have strange things, I just downloaded the OpenKM personal development environment and I compiled and started the tomcat without any kind of issue. As is explained in this section of our webpage https://www.openkm.com/en/download.html you might download from https://download.openkm.com/ and install like is shown in the next video https://www.youtube.com/watch?v=9ugBYf5ggu8&feature=emb_logo

I compiled OpenKM-ComPorDev  Corriendo  - Oracle VM VirtualBox_037

And started the tomcat what comes with OpenKM 6.3.10 OpenKM-ComPorDev  Corriendo  - Oracle VM VirtualBox_038

I suggest following the steps described in our website

soubhi commented 3 years ago

Hi darkman97i , I was trying to install OpenKM using the source code by running "mvn clean package" But I got some warnings during the compilation and exceptions during the tests . Apparently the tests failed and I got "Build failure". image image image image

So I ran with skipping the tests using "mvn -Dmaven.test.skip=true clean package". And the build was successful. image

So I checked localhost:8080/OpenKM, but it says "localhost refused to connect". image

Please help.

Also I tried installing on eclipse without tests, the build was successful, but I cannot see any "servers" tab or tomcat server like how you had in the above screenshot. image

PS : My internet is working fine

darkman97i commented 3 years ago

Seems you have not started tomcat server?

soubhi commented 3 years ago

Should I install Tomcat server separately? If so, can you tell me the compatible version of tomcat for OpenKM?

darkman97i commented 3 years ago

Should start tomcat configured in eclipse ( server tab )