java - 使用IDEA创建maven项目部署到tomcat失败的问题
迷茫
迷茫 2017-04-18 10:29:08
0
6
542

用idea创建了一个maven web项目,tomcat能启动,但是部署不了项目,提示:Artifact dp:war exploded: Server is not connected. Deploy is not available.

该配置的都参照网上资料进行了配置

小白一枚,求大神指定迷津!!!

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(6)
Ty80

I also encountered the same problem, who can solve it? Is there still no one who can solve it

迷茫

Go to file->project structure and set Artifact

阿神

Artifact is not configured

洪涛

You can use the tomcat plug-in that comes with idea to deploy, create a new maven server named "tomcat7", and then configure the Parameters accordingly. As shown below:

洪涛

After setting up Artifact here
Deploy in tomcat

阿神

⚠️Note that if there is an error in the spring configuration xml file, this prompt will also appear!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!