groupdocs-comparison / GroupDocs.Comparison-for-Java-Spring

Moved to https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-Java/tree/master/Demos/Spring
https://products.groupdocs.com/comparison/java
MIT License
1 stars 0 forks source link

Cannot run application in Eclipse #21

Closed atirtahirgroupdocs closed 5 years ago

atirtahirgroupdocs commented 5 years ago

Hi, I am not able to run application on server (Tomcat 8) in Eclipse. Server location is set to workspace metadata and server options are set to "serve modules without publishing". I always get a "The requested resource is not available." issue.

Can you please check this in Windows environment?

koleslena commented 5 years ago

Hi, could you provide list of actions that give such a result?

koleslena commented 5 years ago

Hi, try to check this https://stackoverflow.com/questions/24624782/there-are-no-resources-that-can-be-added-or-removed-from-the-server

atirtahirgroupdocs commented 5 years ago

@koleslena I already followed this procedure. Please see this video and let me know if there is anything wrong with the steps. I always get a 404 error. Although application is configured.

koleslena commented 5 years ago

please, try to use this url http://localhost:8080/comparison-spring/comparison for this application it is necessary to specify /comparison uri after context path

koleslena commented 5 years ago

next step you need to do: 1 Right click at your project and select properties . 2 At the Properties window select Maven. 3 At the right hand panel you will see Active Maven Profiles text box. 4 Please enter profile name - war.

Because we have 2 profiles in our app, and by default jar profile is active, but for deploying on external server you need war profile.

and use the url http://localhost:8080/comparison-spring/comparison

Hope these steps will help you!

atirtahirgroupdocs commented 5 years ago

@koleslena I followed the steps (set war as active maven profile). But still getting same error 404.

koleslena commented 5 years ago

Hi, I can not reproduce this problem, could you provide me with a zip archive of your eclipse project for investigation?

koleslena commented 5 years ago

@atirtahirgroupdocs Please let me know if you could solve the problem.

egorovpavel commented 5 years ago

@atirtahirgroupdocs We will close this issue if you still have any question feel free to reopen this issue.