使用maven创建web项目
- maven_001.gif (9.45 KiB) 被浏览 8 次
- maven_002.gif (3.79 KiB) 被浏览 8 次
- maven_003.gif (2.79 KiB) 被浏览 9 次
- maven_004.gif (8.42 KiB) 被浏览 9 次
选择maven-archetype-webapp
- maven_005.gif (5.65 KiB) 被浏览 9 次
然而在core\src\main\resources\org\minioa\core创建的Application.java不能编译成Application.class
此时,将org.minioa.core剪切到core\src\main\java下
打开.classpath添加一行
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
再次保存.java时,文件被编译。
- maven_006.gif (2.76 KiB) 被浏览 8 次
此时,将org.minioa.core剪切到core\src\main\java下
打开.classpath添加一行
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
再次保存.java时,文件被编译。