groupdocs-annotation / GroupDocs.Annotation-for-Java-Spring

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

Multi exceptions raise while deploying the app on Tomcat server #31

Closed aleksandarvidakovicaspose closed 5 years ago

aleksandarvidakovicaspose commented 5 years ago

Hi,

Please notice we have difficulties while deploying the app on Tomcat server. We are getting numerous exceptions while running the application using Netbeans. This looks like an issue with the incorrect configuration, but we have tried many plugins without success. Tomcat server version is 9. 0. 13 and all configuration files are attached(settings.xml, server.xml, tomcat-users.xml). Also, an edited POM.xml file is attached.

Please investigate and advise.

Thanks. The stack trace.txt config files.zip

koleslena commented 5 years ago

Hi, We added the possibility of building to war for further deployment on an external server. Please, checkout new version.

For building war use 'mvn package -P war', after war is ready, it can be deployed on any servers.

If you want to use maven plugin for deployment, profile war must be specified like this ' -P war' , see example for tomcat plugin in pom.xml. For example, for tomcat7 plugin, uncomment 231-240 lines in pom.xml and use 'mvn -P war tomcat7:deploy' to deploy. For any other plugins it is similar.

egorovpavel commented 5 years ago

@aleksandarvidakovicaspose we will consider this issue as resolved. Feel free to reopen it if still have questions.