steps for creating maven dependencies in idea
- manually import JSP and Servlet and JSTL dependencies in the pom, so that the project has a web compilation environment
-
- JSTL support ‘
- Servlet compilation environment
- JSP compilation environment
0
1
manually imports JSPS and servlets and JSTL dependencies in the pom to give the project a web compilation environment
JSTL supports ` h2>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
servlet compilation environment
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
JSP compilation environment
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
div>
Read More:
- maven_ Unable to create servlet file under Java Web project
- Error processing condition on org.springframework.boot . autoconfigure.context.Property Error report solution
- Unable to access javax.servlet.servletexception [How to Solve]
- [Solved] SpringMVC Run Error: SEVERE-Servlet.service() for servlet jsp threw exception
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- Using jmh in eclipse
- Solve the error of Chinese file uploaded by springboot
- Gateway forwards weboskct with an error ClassCastException
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
- Mybatis idea environment integration jar package
- SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- Some problems in the development of HBase MapReduce
- java.lang.NoClassDefFoundError: org/junit/platform/launcher/TestExecutionListener
- Springboot error creating bean with name ‘xmlmodelplug’:
- Resolve zuul the HTTP status 500 – internal server error error error displayed after startup
- [Solved] Failed to resolve org.junit.platform:junit-platform-launcher:1.7.2
- [Solved] Error in registering Eureka for spring cloud micro service: classnotfoundexception: org.apache.http.conn.scheme.schemeregistry
- Interpreter error /com.fasterxml.jackson.databind.JavaType
- Add PageHelper spring boot starter dependency to springboot and report an error
- After Nacos started, the client worker log was printed all the time