
ERROR
菜鸡03号
为3年后的架构而战
展开
-
cvc-complex-type.2.4.c
今天重装了一下MyEclipse7.5,打开原来的Flex项目,又报了以下两个错误,之前解决过,但不想又出现,于是把它的解决方法贴出来,做个备忘!错误信息为错误信息 写道cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:转载 2016-10-25 20:38:10 · 739 阅读 · 0 评论 -
Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a
7)Could not publish server configuration for Tomcat v7.0 Server at localhost.作者: szh1124 发布时间:2015-07-13 11:09:55 错误信息:Could not publish server configuration for Tomcat v7.0 Server at lo转载 2016-10-25 20:52:45 · 1465 阅读 · 0 评论 -
Archive for required library:E:program Files/apache-maven-3.1.0/repository/org/springframework/sprin
解决方案:用记事本打开项目根目录的.classpath文件,找到“WEB-INF/lib/readme.txt”/>”这一行,删掉原创 2016-10-25 23:41:14 · 5124 阅读 · 0 评论 -
java Build Path Problems:Archive for required library
首先说明原因:这个工程,作者在写的时候呢,在build path中添加了他的机器里面的E:\tomcat\apache-tomcat-5.5.27\lib下的一些包,这些细节会被工程记下来。当你导入这个项目的时候呢,会自动到你的E:\tomcat\apache-tomcat-5.5.27\lib下面找这些jar包,很显然,你没有这个路径。然后呢,解决办法:右键工程,选择build pa转载 2016-10-25 23:43:50 · 4007 阅读 · 0 评论 -
解决tomcat运行报错java.lang.UnsatisfiedLinkError: apache-tomcat-7.0.37\bin\tcnative-1.dll:Can load AMD 64
解决办法:http://www.apache.org/dist/tomcat/tomcat-connectors/native/ 到该地址下下载一个tomcat-native-1.2.2-win32-bin压缩包,选择里边的一个64位tcnative-1.dll覆盖tomcat中bin目录下的tcnative-1.dll文件即可再次运行即不会报错了。关于tomcat配置的错误转载 2016-11-17 17:34:32 · 23430 阅读 · 2 评论 -
Failed to load class "org.slf4j.impl.StaticLoggerBinder问题故障的解决
在hibernate的编程中,有的时候明明项目看着没有问题,但是一运行起来就会报错,比如说如下所示的问题故障代码:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further转载 2016-12-02 10:31:29 · 5435 阅读 · 0 评论 -
log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlA
log4j:WARN No appenders could be found for logger(org.springframework.context.support.ClassPathXmlApplicationContext).log4j:WARN Please initialize the log4j system properly.Spring 使用了LOG4J 这个开转载 2016-12-02 10:36:06 · 4327 阅读 · 0 评论 -
eclipse--maven项目没有自动编译的问题
在近期项目开发中,需要进行部分的代码测试,因为使用了maven管理,正常的测试目录为src/test/Java,目标目录为target/test-classes,但在一次测试时,发现无论如何修改内容,输出的结果都不变,经过排查发现target/test-classes中的class都是原来的。新修改后的代码无法自动编译。试了各种方法都无效,怀疑eclise有问题,还重新下载的新的,结果还是转载 2016-12-13 00:44:08 · 9606 阅读 · 1 评论 -
java.lang.IllegalStateException异常产生的原因及解决办法
java.lang.IllegalStateException异常产生的原因及解决办法 错误类型大致为以下几种:java.lang.IllegalStateException:Cannot forward a response that is already committed IllegalStateException:response alread转载 2016-12-05 00:59:20 · 23280 阅读 · 0 评论 -
idea中Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner
dea中Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunnerJava.lang.OutOfMemoryError: PermGen space内存溢出错误,解决办法修改TOMCAT_HOME/bin/catalina.sh 在“echo "Using CATALINA_BASE: $C转载 2016-12-06 20:13:56 · 1074 阅读 · 0 评论 -
解决ecplise提示需要移除@Override的问题
编译器版本问题。解决办法:windows->preferences->java->Complier->Compiler compliance settings 选择1.5以上的编译器 即可原创 2016-09-29 00:47:34 · 837 阅读 · 0 评论 -
error:mysql删除报错Cannot delete or update a parent row (201
mysql> delete from repositories where repo_name= "watch/sinawatch_agent_update";ERROR 1451 (23000): Cannot delete or update a parent row: aforeign key constraint fails (`rhodecode`.`repo_to_perm`,CO转载 2016-08-11 17:48:01 · 825 阅读 · 0 评论 -
Access denied for user 'root'@'localhost' (using password: NO)
两个原因:数据库密码错误,或者数据库访问 权限问题转载 2016-09-25 03:02:29 · 724 阅读 · 0 评论 -
Hibernate Dialect must be explicitly set
报了这个错之后配置文件找半天最后发现是,创建configuration 对象时:Configuration cfg=new Configuration() 正确的方式应该是Configuration cfg=new Configuration().configure();原创 2016-08-11 17:31:01 · 478 阅读 · 0 评论 -
eclipse中提示找不到Httpservlet类
Eclipse中使用的HttpServlet类之所以识别不到的原因是没有导入Servlet-api.jar包,这个包在所安装在的tomcat的lib文件下,所以只需要导入即可。在需要导入的工程上右键进入properties,选择Java build path ,library选项卡中add external jars,选择你所安装tomcat目录下lib文件中的Servlet-api.jar包原创 2016-08-24 19:51:34 · 10316 阅读 · 4 评论 -
eclipse不能进入Debug的方法
发现不能进入debug模式,设置断点没有用,直接就返回非debug模式运行下的结果,在网上找了半天也没找到解决方法。 网上提供的方法大概有以下几种: 1、查看断点设置的位置是否正确的,可以在断点处加入了System.out.println()语句,看运行程序后有输出。 2、查看服务是否正常启动。 3、clean下项目后再重新编译运行。 这几个方法我都试了,都没有效果。转载 2016-08-26 21:40:48 · 30200 阅读 · 0 评论 -
spring cvc-elt.1: Cannot find the declaration of element 'beans'解决办法
转载自http://blog.youkuaiyun.com/legendj/article/details/9950963今天在写spring aop示例的时候,在spring.xml文件中添加spring aop的schema后出现红叉,spring配置文件如下: <beans xmlns="http://www.springframework.org/schema/bean转载 2016-09-25 01:41:37 · 1723 阅读 · 0 评论 -
Spring cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration
转载自:http://redsnow-fenglin.iteye.com/blog/686907 今天重装了一下MyEclipse7.5,打开原来的Flex项目,又报了以下两个错误,之前解决过,但不想又出现,于是把它的解决方法贴出来,做个备忘!错误信息为错误信息 写道cvc-complex-type.2.4.c: The matching wildcard is stric转载 2016-09-25 01:15:47 · 524 阅读 · 0 评论 -
spring - cvc-complex-type.2.4.c: The matching wildcard is strict,
cxf整合spring,报错信息如下:Multiple annotations found at this line:- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'jaxws:endpoint'.- schema_refe转载 2016-09-25 01:46:33 · 995 阅读 · 0 评论 -
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager:462 -> Initializing c3p0 pool.
09:24:56,294 INFO com.mchange.v2.c3p0.C3P0Registry banner:204 -> Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]09:24:56,990 INFO com.mchange.v2.c3p0.impl.Abstract转载 2016-09-25 02:17:37 · 13230 阅读 · 0 评论 -
javaweb项目JS文件报错解决办法
在使用Eclipse3.7及以后的版本的时候,加入大型的js文件如jQuery文件,会报错(missing semicolon),文件中会显示红色小X,虽然这个错误并不会影响项目的运行,但是这个却会大大的影响到开发人员的心情,看这总是很不爽,怎么样才能解决呢。打开web工程的.project文件,你会发现有这样一段代码,如下:节点下的这些代码,你会发现第一个有个org.ec转载 2016-12-07 10:56:35 · 10851 阅读 · 0 评论