Hi all,
I'm trying to implement and run SWORD V2 Server API but all the time I received the error.
I'm using IntellijIdea 2018.
When I open the project for the first time I try two things :
1 - as it mentioned in ReadMe. I start with this command : mvn clean package
Then I configure Intellij build tool Configuration as : Maven -> run maven goal -> site:run. when I run it I have this :
2- I configure tomcat with the existing artifact there ( it has two by default, I've tried both and no success).Sometimes it gives me the Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger; and some times I could deploy war file with tomcat but it couldn't run any servlet and gives me the same error 404 for even localhost:8080 or `localhost:8080/[servletnames] when I call any servlets.
What I'm looking for is simply could implement and using this server as a sample (could be better if I could have it on no-default port (e.g. 8787).
I would be grateful if anyone could give me the steps that I could reach my aim.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm trying to implement and run SWORD V2 Server API but all the time I received the error.
I'm using IntellijIdea 2018.
When I open the project for the first time I try two things :
1 - as it mentioned in ReadMe. I start with this command : mvn clean package
Then I configure Intellij build tool Configuration as : Maven -> run maven goal -> site:run. when I run it I have this :
after that for localhost:8080 I have : this error and for calling servlet http://localhost:8080/swordv2/servicedocument: 404 servlet screenshot
2- I configure tomcat with the existing artifact there ( it has two by default, I've tried both and no success).Sometimes it gives me the Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger; and some times I could deploy war file with tomcat but it couldn't run any servlet and gives me the same error 404 for even localhost:8080 or `localhost:8080/[servletnames] when I call any servlets.
What I'm looking for is simply could implement and using this server as a sample (could be better if I could have it on no-default port (e.g. 8787).
I would be grateful if anyone could give me the steps that I could reach my aim.
Thanks in advance.