maven项目搭建,不能启动tomcat7
按照这个:http://blog.csdn.net/zhangdaiscott/article/details/50915206搭建的环境,使用TOMCAT7,将POM.XML修改为:
<!-- tomcat7插件 -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>${tomcat.version}</version>
<configuration>
<server>tomcat7</server>
<port>${webserver.port}</port>
<!-- <path>/${project.artifactId}</path> -->
<path>/jeecg</path>
<url>http://localhost:8099/manager/text</url>
<uriEncoding>${project.build.sourceEncoding}</uriEncoding>
</configuration>
</plugin>
点maven.build... ,
控制台显示:
无法启动TOMCAT
18-1-21 上午10时40分24秒: D:\software\dev\jeecg-jeecg-master\jeecg
18-1-21 上午10时40分24秒:mvn -B -U -N -Dmaven.test.skip=true -s D:\software\dev\apache-maven-3.5.2-bin\apache-maven-3.5.2\conf\settings.xml tomcat7:run
错误是什么?截图下 admin 发表于 2018-1-21 18:10 static/image/common/back.gif
错误是什么?截图下
没有任何错误提示,运行maven run ,
控制台,只有这个:
18-1-21 下午06时42分43秒: D:\software\dev\jeecg-jeecg-master\jeecg
18-1-21 下午06时42分43秒:mvn -B -U -N -Dmaven.test.skip=true -s D:\software\dev\apache-maven-3.5.2-bin\apache-maven-3.5.2\conf\settings.xml tomcat7:run
TOMCAT也没有启动 控制台,就这么简单的信息: 如果clean项目,提示如下:
18-1-21 下午07时43分57秒: The POM for org.jeecgframework:codegenerate:jar:3.6.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
18-1-21 下午07时44分03秒: Maven Builder: FULL_BUILD requireFullBuild
18-1-21 下午07时44分03秒: The POM for org.jeecgframework:codegenerate:jar:3.6.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
18-1-21 下午07时44分04秒: Using 'UTF-8' encoding to copy filtered resources.
18-1-21 下午07时44分04秒: Copying 36 resources
18-1-21 下午07时44分04秒: Copying 326 resources
18-1-21 下午07时44分06秒: Nothing to compile - all classes are up to date
18-1-21 下午07时44分06秒: Using 'UTF-8' encoding to copy filtered resources.
18-1-21 下午07时44分06秒: Copying 0 resource
18-1-21 下午07时44分06秒: skip non existing resourceDirectory D:\software\dev\jeecg-jeecg-master\jeecg\src\test\resources
18-1-21 下午07时44分03秒: The POM for org.jeecgframework:codegenerate:jar:3.6.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
检查你的仓库repositories设置 看下这套视频 : https://edu.csdn.net/course/detail/6744 admin 发表于 2018-1-22 09:59 static/image/common/back.gif
看下这套视频 : https://edu.csdn.net/course/detail/6744
在eclipse里一直启动不了,但是我试了一下在系统的命令提示符下,就可以了。:lol
页:
[1]