The phenomenon of
strong> p>
extends= “struts-default” when configuring struts.xml in IDEA, and also goes red when configuring interceptors with properties that don’t have pre-selection hints.
struts.xml itself is not configured incorrectly.
solution
Ctrl+Shift+Alt+S call out Project Structure
why strong> p>
when we created the project, we selected the jar package that later imported struts, IDEA could not find the struts-default.xml file in the jar package. After we import the struts jar package, IDEA will not scan whether there is a struts-default.xml file in it. For IDEA, struts-default.xml is missing, so there is no corresponding code prompt for red.
This kind of problem often occurs when you manually add jar packages in struts. The solution is the same as above: manually add XML files.
Read More:
- Struts2 is cracked, a serious loophole, a perfect solution
- Struts 2 encapsulates form data into list and map sets
- Under idea2020.3 struts.xml The solution of “red report” based on extensions = “struts default” in
- Does the version of idea2020.1 import mybayis jar package or report an error? Error: (4,28) Java: package org.apache.ibatis.io does not exist
- Idea about module is not backed by gradle
- Failed to import package with error: couldn’t decompress package
- Error when opening jeesite project in eclipse
- How can IntelliJ idea completely delete a project
- Idea couldn’t be found org.springframework.context .support
- In Struts2, the value read from the foreground JSP page is null
- Unity install ilruntime plug-in [novice installation tutorial] (supported by unity2018 and later versions)
- It’s been pitiful by was. It’s reported in the following webapp.WebApp Logerror srve0293e: [servlet error] – [null] error.
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- The solution to the error of inheriting httpservlet in idea tool
- The server internal error that prevented it from fulfilling this request Error (Fixed)
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Conversion to dalvik format failed with error 1 solution
- Solve the problem that springboot does not scan @ repository
- Unit package manager error
- The problem encountered in pyinstaller packaging “failed to execute script × *”