Home > Back-end >  Build the frame of the SSM for springmvc environmental trouble 2 days no error for bosses to give di
Build the frame of the SSM for springmvc environmental trouble 2 days no error for bosses to give di

Time:09-26



Why this webapp tag to red,


Start tomcat error, also,
Org. Apache. Catalina. Core. StandardContext. FilterStart Exception starting filter characterEncodingFilter

CodePudding user response:

Online etc.!!!!!!!!!!

CodePudding user response:

That you ever characterEncodingFilter this class

CodePudding user response:

The mouse moved to the web. XML web app red line above, and will display an error message, generally speaking, there are code sequence might be the problem

CodePudding user response:

refer to the second floor xiaoqian8705 response:
what about you ever characterEncodingFilter this class

This class is not in the jars, I delete filter can really start tomcat in Chinese but not in the controller

CodePudding user response:

If he is the order of the configuration error, the error information will have the right order

CodePudding user response:

What does it say must contain a bunch of tags, is not very good, I also changed the servlet filter position, or the same

CodePudding user response:

reference 5 floor dhacker1 reply:
if it is the order of the configuration error, the error message inside will have the right order

Ok, I'll take a look

CodePudding user response:

You can get an error message, and then we help you to look at

CodePudding user response:

reference 5 floor dhacker1 reply:
if it is the order of the configuration error, the error message inside will have the right order

Ok, I change jdk1.9 to reconfigure the JDK 1.8 maven, card for 3 days, hurt!!!!!!

CodePudding user response:

Restart, heavy, heavy to buy! Programmers triple gate!

CodePudding user response:

The
references to the tenth floor paullbm response:
restart, reshipment, buy! Programmers triple gate!

Ha ha, it does!

CodePudding user response:

Version is a little low, try 3.0
 & lt; Beans XMLNS="http://www.springframework.org/schema/beans" 
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
XMLNS: context="http://www.springframework.org/schema/context"
XMLNS: MVC="http://www.springframework.org/schema/mvc"
Xsi: schemaLocation="HTTP://http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd "& gt;

CodePudding user response:

<? The XML version="1.0" encoding="utf-8"?>
XMLNS="http://java.sun.com/xml/ns/javaee"
Xsi: schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
Version="2.5" & gt;

CodePudding user response:

Web.xml head restraint is wrong, try this one head restraint

<? The XML version="1.0" encoding="utf-8"?>
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
"
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsdVersion="3.1"
Metadata - complete="true" & gt;

CodePudding user response:

If not yet, call me

CodePudding user response:

Wrong information can be changed to try before

<? The XML version="1.0" encoding="utf-8"?>
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemaLocation="http://java.sun.com/xml/ns/javaee
"
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsdVersion="3.0" & gt;

Or delete the existing web. The XML to create a new web, XML:
File> The Project Structure...> Modules

CodePudding user response:

Information was too small to debug: really not clear question, not a new blank example, modify the replication configuration files?

CodePudding user response:

Good, to learn

CodePudding user response:

First of all, the web apps - the red label, may be the result of the IDEA of validation rules are too strict, generally do not affect the program starts,
Second, start an error because EncodingFilter configuration has a problem, can take out before you start to see, first find a right Filter configuration than once,

CodePudding user response:

Garbled filter in front of the front controller

CodePudding user response:

You can get an error message, and then we help you to look at

CodePudding user response:

Information was too small to debug: really not clear question, not a new blank example, modify the replication configuration files?

CodePudding user response:

Ok, order problem is, web tag has prompted an error point, have order, now see see
  • Related