Run the MAVEN project in eclipse with exception--java.lang.classnotfoundexception:org.apache.shiro.web.env.environmentloaderlistener. If you confirm that the Shiro dependent jar is correct, you can try the following:
Right-click Project--build path--configure build path...--deployment Assembly--add--java build path Entries--maven dependencies-- Finish--ok. Such as:
650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/9C/B5/wKiom1l1Uz7yh9XMAAB_I8J6fnA081.png-wh_500x0-wm_ 3-wmp_4-s_2673260498.png "title=" Settings complete picture "alt=" Wkiom1l1uz7yh9xmaab_i8j6fna081.png-wh_50 "/>
Re-release, start. Preliminary analysis, the problem occurs in the deployment phase, that is, the deployment of the time when the dependency jar is missing, so the runtime can not find the related classes.
This article is from the "sharing is the best memory" blog, please be sure to keep this source http://fufeiwen.blog.51cto.com/13145294/1950324
Eclipse running MAVEN Project error JAVA.LANG.CLASSNOTFOUNDEXCEPTION:XXXXXX