﻿{"id":207,"date":"2016-11-01T21:20:01","date_gmt":"2016-11-01T13:20:01","guid":{"rendered":"http:\/\/www.chenweikang.top\/?p=207"},"modified":"2017-09-19T11:42:03","modified_gmt":"2017-09-19T03:42:03","slug":"ssh%e6%a1%86%e6%9e%b6%e9%85%8d%e7%bd%ae%e5%b8%b8%e8%a7%81%e9%94%99%e8%af%af%e5%8f%8a%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.chenweikang.top\/?p=207","title":{"rendered":"ssh\u6846\u67b6\u914d\u7f6e\u5e38\u89c1\u9519\u8bef\u53ca\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>1.java.lang.NoClassDefFoundError: org\/objectweb\/asm\/ClassVisitor<br \/>\n\u7f3a\u5c11asm-3.3.jar<br \/>\n2.java.lang.NoClassDefFoundError: org\/objectweb\/asm\/commons\/EmptyVisitor<br \/>\n\u7f3a\u5c11asm-commons-3.3.jar<br \/>\n3.java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener<br \/>\n\u7f3a\u5c11spring-web-3.2.3.RELEASE.jar<br \/>\n4.java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener<br \/>\n\u7f3a\u5c11spring-web-3.2.3.RELEASE.jar<br \/>\n5.java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener<br \/>\n\u7f3a\u5c11spring-web-3.2.3.RELEASE.jar<br \/>\n6.java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener<br \/>\n\u7f3a\u5c11spring-web-3.2.3.RELEASE.jar<br \/>\n7.java.lang.NoClassDefFoundError: org\/springframework\/context\/ConfigurableApplicationContext<br \/>\n\u7f3a\u5c11spring-context-3.2.3.RELEASE.jar<br \/>\n8.Caused by: java.lang.ClassNotFoundException: org.springframework.beans.FatalBeanException<br \/>\n\u7f3a\u5c11spring-beans-3.2.3.RELEASE.jar<br \/>\n9.Caused by: java.lang.ClassNotFoundException: org.springframework.core.NestedRuntimeException<br \/>\n\u7f3a\u5c11spring-core-3.2.3.RELEASE.jar<br \/>\n10.java.lang.NoClassDefFoundError: org\/apache\/log4j\/PropertyConfigurator<br \/>\n\u7f3a\u5c11log4j-1.2.16.jar<br \/>\n11. org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http:\/\/www.springframework.org\/schema\/tx]<br \/>\n\u7f3a\u5c11spring-tx-3.2.3.RELEASE.jar<br \/>\n12.org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [resource\/applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org\/aopalliance\/intercept\/MethodInterceptor<br \/>\n\u7f3a\u5c11aopalliance-1.0.jar<br \/>\n13.\u00a0\u00a0 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http:\/\/www.springframework.org\/schema\/aop]<br \/>\n\u7f3a\u5c11spring-aop-3.2.3.RELEASE.jar<br \/>\n14.java.lang.NoClassDefFoundError: org\/springframework\/expression\/PropertyAccessor<br \/>\n\u7f3a\u5c11spring-expression-3.2.3.RELEASE.jar<br \/>\n15. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [resource\/applicationContext.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0': Cannot resolve reference to bean 'pointcut' while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pointcut': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org\/aspectj\/weaver\/reflect\/ReflectionWorld$ReflectionWorldException<br \/>\n\u7f3a\u5c11spring-aspects-3.2.3.RELEASE.jar\u3001aspectjweaver.jar\u3001aspectjrt.jar<br \/>\n16. org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate4.LocalSessionFactoryBean] for bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.LocalSessionFactoryBean<br \/>\n\u7f3a\u5c11spring-orm-3.2.3.RELEASE.jar<br \/>\n17. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org\/hibernate\/annotations\/common\/reflection\/ReflectionManager<br \/>\n\u7f3a\u5c11hibernate-commons-annotations-4.0.2.Final.jar<br \/>\n18. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org\/dom4j\/DocumentException<br \/>\n\u7f3a\u5c11dom4j-1.6.1.jar<br \/>\n19.org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org\/jboss\/logging\/BasicLogger<br \/>\n\u7f3a\u5c11jboss-logging-3.1.1.GA.jar<br \/>\n20.\u00a0\u00a0 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax\/transaction\/SystemException<br \/>\n\u7f3a\u5c11jboss-transaction-api_1.1_spec-1.0.1.Final.jar<br \/>\n21.\u00a0\u00a0 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax\/persistence\/Entity<br \/>\n\u7f3a\u5c11hibernate-jpa-2.0-api-1.0.1.Final.jar<br \/>\n22. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.cache.NoCacheRegionFactoryAvailableException: Second-level cache is used in the application, but property hibernate.cache.region.factory_class is not given, please either disable second level cache or set correct region factory class name to property hibernate.cache.region.factory_class (and make sure the second level cache provider, hibernate-infinispan, for example, is available in the classpath).<br \/>\nhibernate.cfg.xml\u914d\u7f6e\u4e2d\u9700\u6dfb\u52a0\uff1a<br \/>\n&lt;property name=\"hibernate.cache.use_second_level_cache\"&gt;true&lt;\/property&gt;<br \/>\n&lt;property name=\"hibernate.cache.provider_class\"&gt;net.sf.ehcache.hibernate.EhCacheProvider&lt;\/property&gt;<br \/>\n&lt;property name=\"hibernate.cache.region.factory_class\"&gt;org.hibernate.cache.ehcache.EhCacheRegionFactory&lt;\/property&gt;<br \/>\n23. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org\/slf4j\/LoggerFactory<br \/>\n\u7f3a\u5c11slf4j-api-1.6.1.jar<br \/>\n24. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [resource\/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org\/springframework\/jdbc\/datasource\/TransactionAwareDataSourceProxy<br \/>\n\u7f3a\u5c11spring-jdbc-3.2.3.RELEASE.jar<br \/>\n25. org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.cjjt.dao.impl.BaseDaoImpl] for bean with name 'baseDao' defined in class path resource [resource\/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.cjjt.dao.impl.BaseDaoImpl<br \/>\n26.Caused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]<br \/>\n\u7f3a\u5c11struts2-spring-plugin-2.3.15.jar<br \/>\n27.org.springframework.orm.hibernate4.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1<\/p>\n<p>28.java.lang.NoClassDefFoundError: org\/apache\/commons\/logging\/LogFactory<br \/>\n\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5\uff1a\u7f3a\u5c11commons-logging.jar\uff0c\u9700\u8981\u5728lib\u4e2d\u6dfb\u52a0\u3002<br \/>\n29.NoClassDefFoundError: org\/logicalcobwebs\/cglib\/core\/NamingPolicy<br \/>\n\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5\uff1a\u9ed8\u8ba4hibernate4\u4e0b\u8fde\u63a5\u6c60jar\u5305\u4e3a\u8f83\u8001\u7684proxool-0.8.3.jar\u3002\u9700\u8981\u6362\u6210proxool-0.9.1.jar\u548cproxool-cglib.jar<br \/>\n30.org.logicalcobwebs.proxool.ShutdownHook - Problem calling \"get cause\" on IllegalStateException.<\/p>\n<p>\u95ee\u9898\u53ca\u89e3\u51b3\u529e\u6cd5\uff1a\u9ed8\u8ba4hibernate4\u4e0b\u8fde\u63a5\u6c60jar\u5305\u4e3a\u8f83\u8001\u7684proxool-0.8.3.jar\u3002\u9700\u8981\u6362\u6210proxool-0.9.1.jar\u548cproxool-cglib.jar<\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"https:\/\/www.chenweikang.top\">\u5de6\u624b\u4ee3\u7801\u53f3\u624b\u8bd7<\/a> &raquo; <a href=\"https:\/\/www.chenweikang.top\/?p=207\">ssh\u6846\u67b6\u914d\u7f6e\u5e38\u89c1\u9519\u8bef\u53ca\u89e3\u51b3\u529e\u6cd5<\/a><\/p><div class=\"__youshang\">\r\n            <div id=\"__youshang_popup\" class=\"wechat popup\" style=\"display: none;\">\r\n                <div class=\"head\">~\u8c22\u8c22\u6253\u8d4f~<\/div>\r\n                <div class=\"qrcode\"><div class=\"qrcode-li wechat\" ><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/wexin.png\" \/><\/div><div class=\"qrcode-li alipay\" style=\"display:none;\"><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/ali-pay.png\" \/><\/div><div class=\"qrcode-li hongbao\" style=\"display:none;\"><img src=\"https:\/\/www.chenweikang.top\/wp-content\/uploads\/2019\/07\/ali-hongbao.png\" \/><\/div><\/div>\r\n                <ul class=\"platform\"><li class=\"icon-wechat active\" data-bg-color=\"#05af4e\" data-thanks=\"~\u8c22\u8c22\u6253\u8d4f~\"><\/li><li class=\"icon-alipay \" data-bg-color=\"#00a2ea\" data-thanks=\"~\u8c22\u8c22\u6253\u8d4f~\"><\/li><li class=\"icon-hongbao \" data-bg-color=\"#dd5746\" data-thanks=\"<p>\u626b\u7801\u9886\u7ea2\u5305<\/p><p style='margin-top: 24px;'>\uff08\u4f59\u989d\u5b9d\u652f\u4ed8\u65f6\u53ef\u62b5\u73b0\uff09<\/p>\"><\/li><\/ul>\r\n            <\/div>\r\n            <a href=\"javascript:void(0);\" id=\"__youshang_btn\">\u8d4f<\/a>\r\n        <\/div>","protected":false},"excerpt":{"rendered":"<p>1.java.lang.NoClassDefFoundError: org\/objectweb\/asm\/Cla [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":140,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[20],"class_list":["post-207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","tag-java"],"_links":{"self":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":0,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=\/wp\/v2\/media\/140"}],"wp:attachment":[{"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chenweikang.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}