java - How do I deploy an unpacked maven project to Tomcat? -


per tomcat 7 documentation...

a web application defined hierarchy of directories , files in standard layout. such hierarchy can accessed in its "unpacked" form", each directory , file exists in filesystem separately, or in "packed" form known web archive, or war file. the former format more useful during development, while latter used when distribute application installed. (http://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html)

the project i'm working maven project (and must stay way). put project in tomcat webapps folder , run source (without doing maven deploy) while i'm debugging/developing it. production, use maven build war file deployment. possible run maven project source? (without compiling war file?)

as muel commented, have compile files first, once have files compiled, can put in folder inside web apps (even root, should empty), app use folder name context path (except root deploys in "/")


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -