app项目基本功能完成;想着写写别的,就开始下载idea,安装后,想办法激活,网上有三种,我用了一种,接下来操作
参考了https://blog.youkuaiyun.com/qq_27093465/article/details/63683873部分内容,但是有点不一样,可能版本的问题。
新建一个maven项目,右边选择第二个webapp;
这俩输入框内容是随便输入的;
这个和参考文章里一样,提前新建一个文件夹,然后在里面新建一个空的文件夹和一个xml文件;
我选择是的D盘,位置随意;
import下;
出现artifact了;
,期间遇到一个问题404 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
原来发现只要有一个web.xml就得有一个对应的index.jsp;
改了之后不报错了。