
JUnit
文章平均质量分 72
翱翔天地
技术在于专注!主要从事前端开发,熟悉vue、jQuery、uniapp等,有微信公众号和微信小程序开发经验,熟练使用echarts、highcharts、帆软报表;了解Java、python和mysql
展开
-
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
1、错误描述严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListenerjava.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableIn原创 2017-04-11 19:27:40 · 18844 阅读 · 1 评论 -
java.lang.NoClassDefFoundError: org/apache/ibatis/type/TypeReference
1、错误描述java.lang.NoClassDefFoundError: org/apache/ibatis/type/TypeReference at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.ja原创 2016-07-06 21:12:46 · 8647 阅读 · 0 评论 -
Caused by: java.net.UnknownHostException: www.mybatis.org
1、错误描述org.activiti.engine.ActivitiException: Error while building ibatis SqlSessionFactory: Error creating document instance. Cause: java.net.UnknownHostException: www.mybatis.org at org.activiti.en原创 2016-07-06 21:07:25 · 7849 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonView
1、错误描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [activiti.cfg.xml]: Instantiation of bean faile原创 2016-07-06 20:52:28 · 25861 阅读 · 2 评论 -
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
1、错误描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [activiti.cfg.xml]: Instantiation of bean faile原创 2016-07-06 17:27:39 · 18097 阅读 · 3 评论 -
java.lang.NoClassDefFoundError: org/apache/ibatis/session/SqlSessionFactory
1、错误描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [activiti.cfg.xml]: Initialization of bean fail原创 2016-07-05 13:56:47 · 42966 阅读 · 2 评论 -
java.lang.NoClassDefFoundError: org/activiti/validation/ProcessValidator
1、错误描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [activiti.cfg.xml]: Initialization of bean fail原创 2016-07-05 13:52:33 · 5115 阅读 · 1 评论 -
java.lang.NoClassDefFoundError: org/activiti/image/ProcessDiagramGenerator
1、错误描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resource [activiti.cfg.xml]: Initialization of bean fail原创 2016-07-05 13:44:36 · 7924 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/springframework/beans/factory/support/DefaultListableBeanFactory
1、错误描述java.lang.NoClassDefFoundError: org/springframework/beans/factory/support/DefaultListableBeanFactory at org.activiti.engine.impl.cfg.BeansConfigurationHelper.parseProcessEngineConfiguration(Bea原创 2016-07-04 20:24:12 · 10271 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/junit/internal/AssumptionViolatedException
1、错误描述SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for f原创 2016-07-04 19:23:12 · 2914 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/junit/rules/TestRule
1、错误描述java.lang.NoClassDefFoundError: org/junit/rules/TestRule at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1012) at原创 2016-07-04 19:21:11 · 4502 阅读 · 1 评论 -
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
1、错误描述java.lang.NoClassDefFoundError: org/springframework/core/io/Resource at org.activiti.engine.ProcessEngineConfiguration.createProcessEngineConfigurationFromResource(ProcessEngineConfiguration.ja原创 2016-07-04 16:48:23 · 22970 阅读 · 1 评论 -
java.lang.IllegalStateException: getAttribute: Session already invalidated
1、错误描述严重: Servlet.service() for servlet [springmvc] in context with path [/AOP] threw exception [org.apache.shiro.session.InvalidSessionException: java.lang.IllegalStateException: getAttribute: Sessio原创 2016-07-14 15:26:46 · 7678 阅读 · 0 评论 -
Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping com.you.flex.mode
1、错误描述2015-09-21 00:02:09 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-21 00:06:44 · 4223 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition
1、错误描述java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2570) at原创 2015-09-20 23:23:52 · 8879 阅读 · 2 评论 -
Caused by: org.hibernate.InvalidMappingException: Unable to read XML
1、错误描述2015-09-20 23:37:41 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-20 23:42:43 · 6025 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.hibernate.impl.SessionImpl
1、错误描述2015-09-20 23:02:58 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-20 23:08:18 · 4492 阅读 · 2 评论 -
java.lang.NoClassDefFoundError: org/activiti/bpmn/model/StartEvent
1、错误描述java.lang.NoClassDefFoundError: org/activiti/bpmn/model/StartEvent at org.activiti.image.impl.DefaultProcessDiagramGenerator.(DefaultProcessDiagramGenerator.java:90) at org.activiti.image.impl原创 2016-07-07 21:58:25 · 5474 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/activiti/bpmn/constants/BpmnXMLConstants
1、错误描述org.activiti.engine.ActivitiException: Programmatic error: could not instantiate org.activiti.designer.test.ProcessTestMyProcess at org.activiti.engine.test.ActivitiRule.starting(ActivitiRule.j原创 2016-07-06 21:57:19 · 4282 阅读 · 3 评论 -
java.util.MissingFormatArgumentException: Format specifier 'd'
1、错误描述java.util.MissingFormatArgumentException: Format specifier 'd' at java.util.Formatter.format(Formatter.java:2487) at java.util.Formatter.format(Formatter.java:2423) at java.lang.String.format原创 2017-02-17 19:04:22 · 16972 阅读 · 1 评论 -
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: 索引 1 超出范围
1、错误描述org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL []; 索引 1 超出范围。; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: 索引 1 超出范围。 at o原创 2017-03-25 12:51:45 · 8491 阅读 · 1 评论 -
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: 没有为参数号 2 设置值
1、错误描述org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [UPDATE SET [stu_addr] =? [CMOP].[dbo].[student] where [student_id]=? ]; SQL sta原创 2017-03-25 12:49:53 · 9895 阅读 · 2 评论 -
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: 该语句没有返回结果集
1、错误描述org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [insert into [CMOP].[dbo].[student]([stu_pid],[stu_id],[tag]) values(?,?,0) ]; S原创 2017-03-25 12:46:16 · 4224 阅读 · 4 评论 -
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
1、错误描述 org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java原创 2017-03-28 19:13:58 · 1399 阅读 · 1 评论 -
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered
1、错误描述严重: Servlet.service() for servlet [jsp] in context with path [/SSH] threw exceptionjava.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at org.原创 2017-02-23 19:14:21 · 7179 阅读 · 2 评论 -
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Student is not mapped
1、错误描述org.hibernate.hql.internal.ast.QuerySyntaxException: Student is not mapped [from Student ] at org.hibernate.hql.internal.ast.QuerySyntaxException.generateQueryException(QuerySyntaxException.jav原创 2017-02-23 19:11:34 · 1918 阅读 · 0 评论 -
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: * near line 1, column 8
1、错误描述org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: * near line 1, column 8 [select * from t_student_info ] at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(Que原创 2017-02-23 19:05:40 · 11696 阅读 · 0 评论 -
org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thre
1、错误描述org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread at org.springframework.orm.hibernate4.SpringSessionContext.currentSession(SpringSessionCon原创 2017-02-23 19:01:07 · 2638 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException
1、错误描述org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.you.ssh.test.dao.StudentDaoTest': Unsatisfied dependency expressed through field 'studentDao'原创 2017-02-23 18:55:09 · 79218 阅读 · 3 评论 -
Failed while installing Dynamic Web Module 3.0
1、错误描述2、错误原因3、解决办法原创 2015-05-05 23:55:46 · 16833 阅读 · 2 评论 -
Caused by: java.sql.SQLException: No value specified for parameter 2
1、错误描述at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invo原创 2017-02-13 19:48:15 · 5367 阅读 · 1 评论 -
Caused by: org.xml.sax.SAXParseException: The prefix "aop" for element "aop:config" is not bound
1、错误描述log4j:ERROR Failed to rename [/logs/jeefw.log] to [/logs/jeefw.log.2017-02-14].2017-02-21 14:22:18,755 [main] ERROR [org.springframework.test.context.TestContextManager] - Caught exception whil原创 2017-02-21 14:59:25 · 1938 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: SpringJUnit4ClassRunner requires JUnit 4.12 or higher
1、错误描述java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccesso原创 2017-02-21 14:41:18 · 28913 阅读 · 5 评论 -
java.util.IllegalFormatConversionException: d != java.lang.String
1、错误描述java.util.IllegalFormatConversionException: d != java.lang.String at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045) at java.util.Formatter$FormatSpecifier.printInteger原创 2017-02-09 20:26:56 · 16558 阅读 · 0 评论 -
Caused by: java.sql.BatchUpdateException: Can not issue executeUpdate() for SELECTs
1、错误描述org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [select student_id from b_student where student_code=? ]; Can not issue executeUpdate() for SELECTs; neste原创 2017-02-09 20:10:54 · 8324 阅读 · 0 评论 -
com.alibaba.fastjson.JSONException: syntax error, pos 1
1、错误描述com.alibaba.fastjson.JSONException: syntax error, pos 1 at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1083) at com.alibaba.fastjson.parser.DefaultJSONPars...原创 2017-02-09 20:07:49 · 96043 阅读 · 17 评论 -
Caused by: org.jbpm.api.JbpmException: resource jbpm.cfg.xml does not exist
1、错误描述2015-09-20 22:49:59 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-20 22:55:11 · 3538 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.jbpm.pvm.internal.processengine.SpringHelper
1、错误描述2015-09-20 22:35:23 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-20 22:39:49 · 3407 阅读 · 0 评论 -
Could not resolve placeholder 'spring.security.mapping.directory' in string value "${spring.security
1、错误描述2015-09-20 22:30:25 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attemptorg.springframew原创 2015-09-20 22:37:00 · 3936 阅读 · 0 评论 -
Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index
1、错误描述WARN:2015-05-01 16:45:37[main] - Exception encountered during context initialization - cancelling refresh attemptorg.springframework.beans.factory.BeanCreationException: Error creating bean w原创 2015-05-01 16:48:10 · 4637 阅读 · 0 评论