转载地址:https://blog.csdn.net/qq784515681/article/details/85070195 在新建maven项目时,Problems中报错: Error:Maven Resources Compiler: Maven project configuration required for module 'XX(项目名)' isn't available. Compilation of Maven projects is supported only if ext…
总是出现Error:Maven Resources Compiler: Maven project configuration required for module '项目名' isn't available. Compilation of Maven projects is supported only if external build is started from an IDE. 各种百度谷歌搜索几百条博客  全是叫你按下很简单Rebuild Reimport    可是根本不管用,然…
在使用maven新建的web项目中,执行 执行如上的这两个操作,报错: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project bioligyInfo: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0_73\..…
在cmd下,用mvn命令 mvn archetype:create -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifactId=maven-archetype-webapp 新建web项目时出错.报错内容: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:create (default-cli) on project stan…
新建了两个maven项目在E盘workspace目录,后面移到workspace/app_engine目录下提交svn,再通过Eclipse的File->import导入时报错了: Project xxx already exists Add a version or custom suffix using "Name template" in "Advanced" settings 问题描述说项目已经存在,如果要再次导入项目需要加一个版本号作为后缀.但是我已…
这类错误 出现这种错误,通常是由于您已启动了另一个tomcat 进程或者运行的javaw.exe进程,导致报错. 解决方法: 1. 鼠标点击 X 进行关闭运行失败的 Console页,(如果运行多次,程序的console都只会放在这里) 关闭后,应该可以看到,红色小正方形.点击,使tomcat进程或运行的javaw.exe进程停止. 再重新编译即可.…
web项目使用到mybatis,需要使用mybatis的自动生成代码插件,配置build部分如下: <build> <pluginManagement></pluginManagement> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> </plugin> <plugin> <artifactId>maven-c…
安装pymssql时报错:在安装的过程中遇到了“error: Microsoft Visual C++ 14.0 is required…” 解决办法: 进入https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud->查找pymssql->下载相应版本(例如下载后路径为E:\Python36-32\Scripts\pymssql-2.1.4.dev5-cp36-cp36m-win32.whl) cmd进入到目录E:\Python36-32\Sc…
1.先右击项目,build Path 查看是否是某个JAR出了错.去掉无用的JAR 以及修改对应的JDK版本 2.检查src源文件,查看是否是源文件出了错.发现,还真的是 导入的包上面,报错:The import javax.servlet.annotation cannot be resolved 然后在problems里报:Eclipse “cannot be resolved to a type” error ——解决: 最后在尝试过程中,发现是jdk和eclipse配置的tomcat版本…
1.Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:1.1 from any of the configured repositories. 办法:下载maven-archetype-quickstart-1.1.jar放入安装maven的lib文件夹下,在此处启动dos窗口输入命令:mvn install:install-file -DgroupId=org.apache.ma…