Maven项目编译时报错缺少tools.jar】的更多相关文章

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project ERP: Compilation failure [ERROR] Unable to locate the Javac Compiler in: [ERROR] C:\Program Files\Java\jre7\..\lib\tools.jar [ERR…
1.问题一: [ERROR] Failed to execute goal on project data-common: Could not resolve dependencies for project com.data:data-common:jar:4.0.0: Failed to collect dependencies at TrendDB_API:TrendDB_API:jar:1.0: Failed to read artifact descriptor for TrendDB…
在maven的pom.xml文件中增加: <build>   <plugins>     <plugin>         <groupId>org.apache.maven.plugins</groupId>         <artifactId>maven-compiler-plugin</artifactId>         <version>3.1</version>         &…
tomcat启动窗口报错log4j:ERROR Could not find value for key log4j.appender.stdoutlog4j:ERROR Could not instantiate appender named "stdout".解决办法:原来是log4j.properties少了一行应该是:log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layou…
来源于:http://blog.csdn.net/dingqinghu/article/details/8805922 http://yl-fighting.iteye.com/blog/1409468 使用Myeclipse,将eclipse下的工程复制过来后,发现提示Tomcat 7.0 unbound.缺少Server Runtime. 解决方法如下:1,File->New->Other->Server->Server(注意在new时,需要勾上Show All Wizards…
导入Maven项目到Eclipse中时,出现问题如下: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 参考:Maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 原因: tomcat在发布项目的时候没有同时发布maven依…
第一种错误 :idea中 maven打包时时报错User setting file does not exist C:\Users\lenevo\.m2\setting.xml, 解决方案如下:将maven的安装目录\conf目录下的setting.xml拷贝到C:\Users\lenevo\.m2目录下即可. 第二种错误: This application has no explicit mapping for /error, so you are seeing this as a fallb…
安装asp.net mvc4之后,之前的mvc3项目编译时报这个错“The type System.Web.Mvc.ModelClientValidationRule exists in both c:\Program Files\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll and c:\Program Files\Microso...” 重新安装mvc3也许可以解决这个问题,不过还会覆盖mvc4的配置,可以通过修改…
maven项目编译通过,测试用例卡住,断点也用不了.如下图 maven的tomcat插件可以运行没报错,但是网页访问一直转圈 原因: 最后发现是typeAliasesPackage这里设置了别名,所以不能有重复的类名. 删去重复的类解决…
使用Notepad++编码编译时报错(已解决?) 使用Notepad++编码,编译的时候经常会报错,说什么GBK编码啥啥啥~~~但同样的编码用ECLIPSE就没有问题.再有,用记事本把他保存成ANSI格式也没有问题.******难道JAVA编码不都是用UTF-8格式的吗? *****本帅今天决定暂不用Notepad++了,还是用ECLIPSE,省得麻烦 本帅今天又用Notepad++编译程序,一个偶然的机会发现,win7的cmd窗口是用的ANSI格式编码的,这样编译汉字时会有乱码.于是本帅就把N…