Home > Java > javaTutorial > body text

Solution to problem when java encounters .util.concurre

怪我咯
Release: 2017-06-26 11:44:33
Original
2142 people have browsed it

When deploying Dynamic Web Project, if the above exception still occurs when configuring web.xml or annotation correctly, you can try the method explained in the following content:

First , double-click servers in eclipse, the location is indicated by "1" in the figure below.

Check whether the General Information at position "2" is correct and at position "3" Is the Servlet Path path information configured correctly (generally, set the Tomcat configuration of Eclipse correctly, there is no problem with these two items, see the correct configuration method)

Next, look at the location "4 "Whether the path at "is the matching path for webapps under the Tomcat path, if not, follow the steps below:

  • First, find the Tomcat installation path, here Find the webapps folder under the path. You can select all and delete them all;

  • Next, enter Eclipse and see that position "4" is displayed as editable. , Next, click "Browse", select the correct path of webapps under Tomcat, and confirm;

  • Then, click location "5" to proceed The web Model is added as follows:

  • Finally, at the current location, click "Add Web Module" to add the Target project;

  • #Click "start" to run Tomcat.

The above is the detailed content of Solution to problem when java encounters .util.concurre. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template