![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Maven
maven相关技术
闲言博客
记录成长,记录学习!
展开
-
javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handl
javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) at org.sp原创 2021-05-02 20:57:10 · 1040 阅读 · 2 评论 -
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli)
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-webapp:RELEASE)转载 2021-04-21 23:13:37 · 3144 阅读 · 5 评论 -
Exception in thread “main“ java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
错误产生环境从码云下拉取Spring Boot 项目 启动时产生错误描述Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactoryCaused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory错误原因没有 slf4j 依赖解决办法...原创 2021-04-19 20:45:49 · 7880 阅读 · 0 评论 -
Idea 基于maven创建普通javaWeb项目
Idea 基于maven创建普通javaWeb项目原创 2021-04-07 16:21:27 · 277 阅读 · 2 评论 -
Caused by: java.lang.IllegalArgumentException: The servlets named [cn.bloghut.ServletDemo1] and [cn.
Caused by: java.lang.IllegalArgumentException: The servlets named [cn.bloghut.ServletDemo1] and [cn.bloghut.ServletDemo2] are both mapped to the url-pattern [/demo1] which is not permitted原创 2021-04-07 15:59:57 · 572 阅读 · 0 评论 -
java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value
java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value转载 2021-04-07 15:49:40 · 247 阅读 · 0 评论 -
Ignored pom.xml
问题产生环境maven父子工程项目,创建子模块时产生问题描述问题原因由于相同名称的module在之前被创建过(之前创建过这个相同名称的模块又删除了),因此在IDEA中留有痕迹。重新创建一个新的同名module会让IDEA误以为是之前被删除掉的module,所以才自动将这个pom.xml文件忽略了解决办法1.点击file > Setting进入设置2.找到lgnored file,把右边已选中的选项取消勾选,然后点击 ok3.建议再点击右上角Maven中的刷新一下,这样pom.xm转载 2021-03-06 21:41:38 · 14710 阅读 · 9 评论 -
程序包javax.servlet.http不存在
程序包javax.servlet.http不存在原创 2021-02-19 13:49:09 · 10284 阅读 · 0 评论 -
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project jurisdiction_controller: Could not start Tomcat原创 2021-02-18 23:05:24 · 8480 阅读 · 1 评论 -
Cannot resolve com.oracle:ojdbc14:11.2.0.1.0
问题描述Cannot resolve com.oracle:ojdbc14:11.2.0.1导入Oracle数据库依赖错误问题原因因为我本地仓库没有这个版本的依赖,idea也无法将其下载下来,导致报错。解决办法将当前的依赖版本修改,因为我本地仓库里有10.2.0.4.0版本的,我这里就更改为这个版本更改后我更改为10.2.0.4.0版本的依赖就不报错了...原创 2021-02-12 18:15:47 · 6373 阅读 · 0 评论 -
apache-maven 上传到本地私服deploy报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project maven_day02_dao: Failed to deploy artifacts: Could not transfer artifact cn.bloghut:maven_day02_dao:jar:1.0-20210209.111041-1 from/to snapsho原创 2021-02-09 21:00:06 · 3319 阅读 · 0 评论 -
maven父子工程三种启动方式
1.直接使用maven内嵌的tomcat插件启动父工程2.使用maven内嵌的tomcat插件启动controller模块注意:在启动controller模块之前要先把各个模块的依赖jar打包到本地仓库,否则无法启动成功。3.使用本地的tomcat启动使用本地的tomcat,在使用之前要把本地tomcat添加进项目,记得把controller模块添加项目。...原创 2021-02-09 00:31:43 · 3227 阅读 · 0 评论 -
java: Annotation processing is not supported for module cycles. Please ensure that all modules from
java: Annotation processing is not supported for module cycles. Please ensure that all modules from cycle [maven_day02_controller,maven_day02_dao,maven_day02_service] are excluded from annotation processing原创 2021-02-09 00:05:48 · 5177 阅读 · 0 评论