I have created a dir 'webapp' in source dir, such as 'src/main/webapp'. but not display it in project view.
But I aleady installed 'Gradle JavaEE support' plugin, and applied plugin 'war'.
--------------------
my source path :
-src
-main
-java
-resources
-webapp
-WEB-INF
-web.xml
-index.jsp
my build.gradle file:
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'jetty'
[jettyRun, jettyRunWar, jettyStop].stopPort = 9966
[jettyRun, jettyRunWar, jettyStop].stopKey = 'stopKey'
dependencies {
compile project(':QBS-UTIL')
compile project(':QBS-CORE')
compile project(':QBS-SERVICE')
providedRuntime 'javax.servlet.jsp:jsp-api:2.2'
providedRuntime 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.1'
providedRuntime 'javax.servlet:servlet-api:2.5'
runtime 'javax.servlet:jstl:1.1.2'
}
--------------------
is there any errors?
Thx.
I have created a dir 'webapp' in source dir, such as 'src/main/webapp'. but not display it in project view.
But I aleady installed 'Gradle JavaEE support' plugin, and applied plugin 'war'.
--------------------
my source path :
-src
-main
-java
-resources
-webapp
-WEB-INF
-web.xml
-index.jsp
my build.gradle file:
apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'jetty'
[jettyRun, jettyRunWar, jettyStop].stopPort = 9966
[jettyRun, jettyRunWar, jettyStop].stopKey = 'stopKey'
dependencies {
compile project(':QBS-UTIL')
compile project(':QBS-CORE')
compile project(':QBS-SERVICE')
providedRuntime 'javax.servlet.jsp:jsp-api:2.2'
providedRuntime 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.1'
providedRuntime 'javax.servlet:servlet-api:2.5'
runtime 'javax.servlet:jstl:1.1.2'
}
--------------------
is there any errors?
Thx.