Java bug记录
猪哥哥呀
这个作者很懒,什么都没留下…
展开
-
npm ERR! request to https://registry.npmjs.org/koa failed, reason: getaddrinfo EAI_AGAIN registry
问题:执行Dockfile报错Step 5/7: RUN npm install---> [Warning] IPv4 forwarding is disabled. Networking will not work.---> Running in 077f200ca764npm ERR! code EAI_AGAINnpm ERR! errno EAI_AGAINnp...原创 2020-03-09 20:26:03 · 11714 阅读 · 0 评论 -
URL access forbidden for unknown reason svn: E170001: OPTIONS of 403 Forbidden (https://**/**)
svn报错OPTIONS of 403 Forbiddensvn: Access to '/svn/**' forbidden svn: E170001: OPTIONS of '/原因:如果是你在使用svn创建了不同的仓库,同时给仓库设置了不同的用户权限例如资源库A,访问用户和密码为user1 /123456你提交代码到资源库A正常,此时svn会记录你的用户名和密码...原创 2019-10-24 11:10:11 · 1417 阅读 · 0 评论 -
maven项目没有src/test/java和src/test/resources文件夹的解决方案
目录maven项目没有src/test/java和src/test/resources先解决src/test/java再解决src/test/resourcesmaven项目没有src/test/java和src/test/resources先解决src/test/java鼠标右键项目,如下图选择Build Path-->Configure Build Path.....原创 2019-10-23 16:53:17 · 3337 阅读 · 1 评论 -
Cannot negotiate authentication mechanism svn: Unable to connect to a repository at URL 'svn://gite
Cannot negotiate authentication mechanismsvn: Commit failed (details follow):svn: Unable to connect to a repository at URL 'svn://gitee.com/**/**'svn提交报错本人解决方法:SVN 的连接库有两种,一种是JavaHL,一种是S...原创 2019-10-23 15:59:26 · 340 阅读 · 0 评论 -
dubbo报错没有提供者Caused by: java.lang.IllegalStateException: Failed to check the status of the service
在使用dubbo,分别启动服务层工程和表现层工程的时候,tomcat出现以下报错信息:Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.campus.service.ItemService. No provider available for the service ...原创 2019-02-12 15:44:03 · 8976 阅读 · 5 评论 -
tomcat8自动化部署项目进行远程debug调式maven项目方法
我们在多工程使用tomcat8远程部署后,想要进行debug调式,这个时候采用传统的调式方式就无效了步骤如下:先将tomcat下的startup.sh中添加以下代码 SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspen...原创 2019-02-15 11:01:03 · 564 阅读 · 0 评论 -
maven项目pom文件第一行报错:xxx\target\m2e-wtp\web- resources\META-INF\MANIFEST.MF (系统找不到指定的路径。)
原因:maven项目没有刷新完全解决方法:将项目进行maven Run As clean一下即可原创 2019-02-15 09:32:46 · 1314 阅读 · 0 评论 -
tomcat启动zookeeper也已正常启动报错No provider available for the service
linux下启动zookeeper成功[root@root bin]# ./zkServer.sh statusJMX enabled by defaultUsing config: /root/soft/zookeeper-3.4.6/bin/../conf/zoo.cfgMode: standalone在启动服务层工程后,再启动表现层工程tomcat服务器报错Caused ...原创 2019-01-22 14:27:32 · 869 阅读 · 0 评论 -
maven项目启动tomcat8报错org.apache.catalina.core.StandardContext.startInternal One or more listeners faile
严重 [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file严重 [localhost-...原创 2019-01-22 12:11:26 · 20941 阅读 · 0 评论 -
maven部署项目报错Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:redeploy
[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 16.292 s[INFO] Finished at: 2019-01-22T11:08:29+08:00[INFO] -----------------...原创 2019-01-22 11:19:56 · 5662 阅读 · 0 评论 -
org.springframework.web.filter.CharacterEncodingFilter cannot be cast to javax.servlet.Filter异常解决方案
启动项目报错,如下。严重: Exception starting filter encodingFilterjava.lang.ClassCastException: org.springframework.web.filter.CharacterEncodingFilter cannot be cast to javax.servlet.Filter at org.apache.catalina...原创 2018-05-04 14:45:17 · 911 阅读 · 0 评论 -
at org.apache.jsp.WEB_002dINF.views.login.login_jsp._jspInit解决方案
后台启动项目不报错,页面输入http://localhost:8080/hz-pco/进入项目后,后台报错。严重: Servlet.service() for servlet [jsp] in context with path [/hz-pco] threw exception [java.lang.NullPointerException] with root causejava.lang.N...原创 2018-05-04 14:06:39 · 6361 阅读 · 3 评论 -
导入maven项目后实现类中的@Override注解报错解决方法
导入maven项目后,会发现实现类中的方法不能重写,需要去除@override注解。The method saveUserInfo(String, String, String, int, String, String, String) of type CustomerServiceImpl must override a superclass method。解决方法:看一下你的JDK版本是不是1...原创 2018-05-04 12:15:22 · 5214 阅读 · 1 评论