Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState'

idea中使用spark-sql报错,事先说明一下,我已经将三个配置文件core-site.xml、hdfs-site.xml、hive-site.xml拷贝到resources下面,可以连接到metastore。我在网上看了很多解决方法,我都做了修改,但是都为生效。
我已经做过的事如下:
图片说明

图片说明
图片说明
图片说明
图片说明
错误如下:
图片说明

3个回答

这个问题我已经解决,我发现是仔细看了一下,后面的错误是Exception in thread "main"java.lang.UnsatisfiedLinkError,我本地的hadoop版本是2.7.3,而winutils是从网上hadoop2.2那个bin下面复制的。出现了这个错误,后来换了一个hadoop2.7的bin下面的winutils解决了问题。

初始化的错误,检查下你的服务器的地址的写法是不是没有写对

你的服务器的地址应该没有写对

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
hadoop集群下 spark 启动报错

``` Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). 17/09/29 09:24:37 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionStateBuilder': at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$instantiateSessionState(SparkSession.scala:1053) at org.apache.spark.sql.SparkSession$$anonfun$sessionState$2.apply(SparkSession.scala:130) at org.apache.spark.sql.SparkSession$$anonfun$sessionState$2.apply(SparkSession.scala:130) at scala.Option.getOrElse(Option.scala:121) at org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:129) at org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:126) at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:938) at org.apache.spark.sql.SparkSession$Builder$$anonfun$getOrCreate$5.apply(SparkSession.scala:938) at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:230) at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40) at scala.collection.mutable.HashMap.foreach(HashMap.scala:99) at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:938) at org.apache.spark.repl.Main$.createSparkSession(Main.scala:97) ... 47 elided Caused by: org.apache.spark.sql.AnalysisException: java.lang.RuntimeException: org.apache.hadoop.fs.ParentNotDirectoryException: /tmp (is not a directory) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkIsDirectory(FSPermissionChecker.java:530) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSimpleTraverse(FSPermissionChecker.java:522) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:497) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1603) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1621) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.resolvePath(FSDirectory.java:542) at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:51) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2970) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1078) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:637) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:845) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:788) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2455) ; at org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:106) at org.apache.spark.sql.hive.HiveExternalCatalog.databaseExists(HiveExternalCatalog.scala:193) at org.apache.spark.sql.internal.SharedState.externalCatalog$lzycompute(SharedState.scala:105) at org.apache.spark.sql.internal.SharedState.externalCatalog(SharedState.scala:93) at org.apache.spark.sql.hive.HiveSessionStateBuilder.externalCatalog(HiveSessionStateBuilder.scala:39) at org.apache.spark.sql.hive.HiveSessionStateBuilder.catalog$lzycompute(HiveSessionStateBuilder.scala:54) at org.apache.spark.sql.hive.HiveSessionStateBuilder.catalog(HiveSessionStateBuilder.scala:52) at org.apache.spark.sql.hive.HiveSessionStateBuilder.catalog(HiveSessionStateBuilder.scala:35) at org.apache.spark.sql.internal.BaseSessionStateBuilder.build(BaseSessionStateBuilder.scala:289) at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$instantiateSessionState(SparkSession.scala:1050) ... 61 more Caused by: java.lang.RuntimeException: org.apache.hadoop.fs.ParentNotDirectoryException: /tmp (is not a directory) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkIsDirectory(FSPermissionChecker.java:530) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSimpleTraverse(FSPermissionChecker.java:522) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:497) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1603) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1621) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.resolvePath(FSDirectory.java:542) at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:51) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2970) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1078) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:637) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:845) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:788) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2455) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522) at org.apache.spark.sql.hive.client.HiveClientImpl.<init>(HiveClientImpl.scala:191) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:264) at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:362) at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:266) at org.apache.spark.sql.hive.HiveExternalCatalog.client$lzycompute(HiveExternalCatalog.scala:66) at org.apache.spark.sql.hive.HiveExternalCatalog.client(HiveExternalCatalog.scala:65) at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply$mcZ$sp(HiveExternalCatalog.scala:194) at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply(HiveExternalCatalog.scala:194) at org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$databaseExists$1.apply(HiveExternalCatalog.scala:194) at org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:97) ... 70 more Caused by: org.apache.hadoop.fs.ParentNotDirectoryException: /tmp (is not a directory) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkIsDirectory(FSPermissionChecker.java:530) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSimpleTraverse(FSPermissionChecker.java:522) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:497) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1603) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1621) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.resolvePath(FSDirectory.java:542) at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:51) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2970) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1078) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:637) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:845) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:788) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2455) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106) at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:73) at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:3002) at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:2970) at org.apache.hadoop.hdfs.DistributedFileSystem$21.doCall(DistributedFileSystem.java:1047) at org.apache.hadoop.hdfs.DistributedFileSystem$21.doCall(DistributedFileSystem.java:1043) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:1061) at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:1036) at org.apache.hadoop.hive.ql.exec.Utilities.createDirsWithPermission(Utilities.java:3679) at org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:597) at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:554) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:508) ... 84 more Caused by: org.apache.hadoop.ipc.RemoteException: /tmp (is not a directory) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkIsDirectory(FSPermissionChecker.java:530) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkSimpleTraverse(FSPermissionChecker.java:522) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:497) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1603) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkTraverse(FSDirectory.java:1621) at org.apache.hadoop.hdfs.server.namenode.FSDirectory.resolvePath(FSDirectory.java:542) at org.apache.hadoop.hdfs.server.namenode.FSDirMkdirOp.mkdirs(FSDirMkdirOp.java:51) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2970) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:1078) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:637) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:845) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:788) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2455) at org.apache.hadoop.ipc.Client.call(Client.java:1475) at org.apache.hadoop.ipc.Client.call(Client.java:1412) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229) at com.sun.proxy.$Proxy22.mkdirs(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:558) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:191) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) at com.sun.proxy.$Proxy23.mkdirs(Unknown Source) at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:3000) ... 94 more <console>:14: error: not found: value spark import spark.implicits._ ^ <console>:14: error: not found: value spark import spark.sql ^ Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.2.0 /_/ Using Scala version 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_144) Type in expressions to have them evaluated. Type :help for more information. scala> ```

html跳转连接servlet时出现500错误,Error instantiating servlet class

![图片说明](https://img-ask.csdn.net/upload/201812/11/1544530020_367166.png) 在eclipse的console上面显示的是下面的错误: 严重: Allocate exception for servlet [Give Horoscope Servlet] java.lang.ClassNotFoundException: Lab30.HoroscopeServlet at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1138) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:542) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:523) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1032) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:761) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:133) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)

HTTP Status 500 问题,感谢回答

# HTTP Status 500 - Error instantiating servlet class servlet.HelloServlet type Exception report message Error instantiating servlet class servlet.HelloServlet description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class servlet.HelloServlet org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) root cause java.lang.ClassNotFoundException: servlet.HelloServlet org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1907) org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1750) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) 一月 31, 2018 3:32:31 下午 org.apache.catalina.core.ApplicationContext log 信息: Marking servlet HelloServlet as unavailable 一月 31, 2018 3:32:31 下午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Allocate exception for servlet HelloServlet java.lang.ClassNotFoundException: servlet.HelloServlet at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1907) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1750) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:534) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:516) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:148) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:853) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) 有大佬帮忙解决一下这个问题么,刚开始接触Servlet不是太了解

tomcat 加载ssh,运行服务器的时候报错,请大神赐教!

主要是这个错误:java.lang.NoClassDefFoundError: Lorg/hibernate/SessionFactory; 比较全的错误如下: 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultLista bleBeanFactory@1cad7d80: defining beans [testAction,testService,org.springframework.contex t.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.inte rnalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAn notationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0 ,dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoP roxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSourc e#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframewo rk.transaction.config.internalTransactionAdvisor,org.springframework.beans.factory.config. PropertyPlaceholderConfigurer#1]; root of factory hierarchy 2014-8-27 11:49:01 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed java.lang.NoClassDefFoundError: Lorg/hibernate/SessionFactory; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2300) at java.lang.Class.getDeclaredFields(Class.java:1745) at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:516) at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:500) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceM etadata(CommonAnnotationBeanPostProcessor.java:319) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMe rgedBeanDefinition(CommonAnnotationBeanPostProcessor.java:277) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMerg edBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateB ean(AbstractAutowireCapableBeanFactory.java:448) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(Abs tractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBea n(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBean Factory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(De faultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFa ctory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFact ory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFact ory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSin gletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitia lization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplica tionContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoade r.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader. java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoader Listener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 47 more 2014-8-27 11:49:01 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springfr amework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: Lorg/hibernate/SessionFactory; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2300) at java.lang.Class.getDeclaredFields(Class.java:1745) at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:516) at org.springframework.util.ReflectionUtils.doWithFields(ReflectionUtils.java:500) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceM etadata(CommonAnnotationBeanPostProcessor.java:319) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMe rgedBeanDefinition(CommonAnnotationBeanPostProcessor.java:277) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMerg edBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateB ean(AbstractAutowireCapableBeanFactory.java:448) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(Abs tractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBea n(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBean Factory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(De faultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFa ctory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFact ory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFact ory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSin gletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitia lization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplica tionContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoade r.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader. java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoader Listener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142 ) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactory at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 47 more 2014-8-27 11:49:01 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 2014-8-27 11:49:01 org.apache.catalina.core.StandardContext start

HTTPStatus 500 Error instantiating

请高人指点,我找了二天原因了 HTTP Status 500 - Error instantiating servlet class Bean.test type Exception report message Error instantiating servlet class Bean.test description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class Bean.test org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:745) root cause java.lang.Error: Unresolved compilation problems: Syntax error on token ".", @ expected after this token Syntax error, insert "SimpleName" to complete QualifiedName Syntax error, insert "Identifier (" to complete MethodHeaderName Syntax error, insert ")" to complete MethodDeclaration Bean.test.<init>(test.java:10) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:423) java.lang.Class.newInstance(Class.java:442) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:745) note The full stack trace of the root cause is available in the Apache Tomcat/8.5.9 logs.

spring+mybatis报这个错误大神看看什么问题

严重: Servlet.service() for servlet [DispatcherServlet] in context with path [/suoling] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.yk.suoling.entity.User with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.yk.suoling.entity.User.<init>()] with root cause java.lang.NoSuchMethodException: cn.yk.suoling.entity.User.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.getDeclaredConstructor(Class.java:2178) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:60) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:48) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:41) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createResultObject(DefaultResultSetHandler.java:539) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createResultObject(DefaultResultSetHandler.java:518) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.getRowValue(DefaultResultSetHandler.java:334) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValuesForSimpleResultMap(DefaultResultSetHandler.java:294) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValues(DefaultResultSetHandler.java:269) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSet(DefaultResultSetHandler.java:239) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSets(DefaultResultSetHandler.java:153) at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:60) at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:73) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:60) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:386) at com.sun.proxy.$Proxy8.selectOne(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:165) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52) at com.sun.proxy.$Proxy16.findUserByName(Unknown Source) at cn.yk.suoling.service.impl.UserServiceImpl.login(UserServiceImpl.java:21) at cn.yk.suoling.controller.UserController.login(UserController.java:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)

springmvc出现了服务器启动报错。有大佬能帮忙解释一下嘛

``` D:\elpel\eclipse\apache-tomcat-7.0.93\bin\catalina.bat run [2019-05-12 08:18:18,569] Artifact untitled4:war exploded: Waiting for server connection to start artifact deployment... Using CATALINA_BASE: "C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4" Using CATALINA_HOME: "D:\elpel\eclipse\apache-tomcat-7.0.93" Using CATALINA_TMPDIR: "D:\elpel\eclipse\apache-tomcat-7.0.93\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_191" Using CLASSPATH: "D:\elpel\eclipse\apache-tomcat-7.0.93\bin\bootstrap.jar;D:\elpel\eclipse\apache-tomcat-7.0.93\bin\tomcat-juli.jar" 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Server version: Apache Tomcat/7.0.93 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Server built: Feb 16 2019 17:13:17 UTC 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Server number: 7.0.93.0 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: OS Name: Windows 10 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: OS Version: 10.0 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Architecture: amd64 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Java Home: C:\Program Files\Java\jdk1.8.0_191\jre 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: JVM Version: 1.8.0_191-b12 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: JVM Vendor: Oracle Corporation 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: CATALINA_BASE: C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: CATALINA_HOME: D:\elpel\eclipse\apache-tomcat-7.0.93 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Djava.util.logging.config.file=C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4\conf\logging.properties 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcom.sun.management.jmxremote= 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcom.sun.management.jmxremote.port=1099 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcom.sun.management.jmxremote.ssl=false 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4\jmxremote.password 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4\jmxremote.access 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Djava.rmi.server.hostname=127.0.0.1 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dignore.endorsed.dirs= 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcatalina.base=C:\Users\50427\.IntelliJIdea2019.1\system\tomcat\Tomcat_7_0_933_untitled4 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Dcatalina.home=D:\elpel\eclipse\apache-tomcat-7.0.93 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.startup.VersionLoggerListener log 淇℃伅: Command line argument: -Djava.io.tmpdir=D:\elpel\eclipse\apache-tomcat-7.0.93\temp 浜旀湀 12, 2019 8:18:19 涓嬪崍 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 淇℃伅: Loaded APR based Apache Tomcat Native library 1.2.21 using APR version 1.6.5. 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 淇℃伅: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.core.AprLifecycleListener initializeSSL 淇℃伅: OpenSSL successfully initialized (OpenSSL 1.1.1a 20 Nov 2018) 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.coyote.AbstractProtocol init 淇℃伅: Initializing ProtocolHandler ["http-apr-8080"] 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.coyote.AbstractProtocol init 淇℃伅: Initializing ProtocolHandler ["ajp-apr-8009"] 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.startup.Catalina load 淇℃伅: Initialization processed in 1023 ms 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.core.StandardService startInternal 淇℃伅: Starting service Catalina 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.core.StandardEngine startInternal 淇℃伅: Starting Servlet Engine: Apache Tomcat/7.0.93 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.coyote.AbstractProtocol start 淇℃伅: Starting ProtocolHandler ["http-apr-8080"] 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.coyote.AbstractProtocol start 淇℃伅: Starting ProtocolHandler ["ajp-apr-8009"] 浜旀湀 12, 2019 8:18:20 涓嬪崍 org.apache.catalina.startup.Catalina start 淇℃伅: Server startup in 106 ms Connected to server [2019-05-12 08:18:20,751] Artifact untitled4:war exploded: Artifact is being deployed, please wait... 浜旀湀 12, 2019 8:18:21 涓嬪崍 org.apache.catalina.deploy.WebXml setVersion 璀﹀憡: Unknown version string [4.0]. Default version will be used. 浜旀湀 12, 2019 8:18:22 涓嬪崍 org.apache.catalina.startup.TldConfig execute 淇℃伅: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 2019-05-12 20:18:22,657 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'DispatcherServlet': initialization started 2019-05-12 20:18:22,691 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'DispatcherServlet-servlet': startup date [Sun May 12 20:18:22 CST 2019]; root of context hierarchy 2019-05-12 20:18:22,734 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/DispatcherServlet-servlet.xml] 2019-05-12 20:18:23,016 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@643a7005: defining beans [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping #0,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter #0,/user.do,org.springframework.web.servlet.view.InternalResourceViewResolver#0]; root of factory hierarchy 2019-05-12 20:18:23,029 INFO [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping] - Mapped URL path [/user.do] onto handler '/user.do' 2019-05-12 20:18:23,123 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'DispatcherServlet': initialization completed in 462 ms [2019-05-12 08:18:23,146] Artifact untitled4:war exploded: Artifact is deployed successfully [2019-05-12 08:18:23,147] Artifact untitled4:war exploded: Deploy took 2,395 milliseconds 浜旀湀 12, 2019 8:18:30 涓嬪崍 org.apache.catalina.startup.HostConfig deployDirectory 淇℃伅: Deploying web application directory D:\elpel\eclipse\apache-tomcat-7.0.93\webapps\manager 浜旀湀 12, 2019 8:18:30 涓嬪崍 org.apache.catalina.startup.HostConfig deployDirectory 淇℃伅: Deployment of web application directory D:\elpel\eclipse\apache-tomcat-7.0.93\webapps\manager has finished in 74 ms ```

javaweb运行出java.lang.ClassNotFoundException异常

严重: Allocate exception for servlet Web.SearchK java.lang.ClassNotFoundException: Search.searchkey at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) at Web.test.tt(test.java:15) at Web.SearchK.<init>(SearchK.java:24) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:817) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) 网页上显示错误: type Exception report message Error instantiating servlet class Web.SearchK description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class Web.SearchK org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: Search/searchkey Web.test.tt(test.java:15) Web.SearchK.<init>(SearchK.java:24) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) java.lang.Class.newInstance(Unknown Source) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) root cause java.lang.ClassNotFoundException: Search.searchkey org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333) org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) Web.test.tt(test.java:15) Web.SearchK.<init>(SearchK.java:24) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) java.lang.Class.newInstance(Unknown Source) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Unknown Source) note The full stack trace of the root cause is available in the Apache Tomcat/8.0.28 logs.

birt报表报错,请问如何解决?

15:18:18,234 ERROR [STDERR] org.eclipse.birt.report.exception.ViewerException: 尝试启动报表引擎时出现致命错误。 15:18:18,234 ERROR [STDERR] at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(Unknown Source) 15:18:18,234 ERROR [STDERR] at org.eclipse.birt.report.service.BirtViewerReportService.setContext(Unknown Source) 15:18:18,234 ERROR [STDERR] at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(Unknown Source) 15:18:18,234 ERROR [STDERR] at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(Unknown Source) 15:18:18,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 15:18:18,328 ERROR [STDERR] at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) 15:18:18,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 15:18:18,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 15:18:18,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 15:18:18,328 ERROR [STDERR] at gds.jap.filter.SignOnFilter.doFilter(SignOnFilter.java:179) 15:18:18,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) 15:18:18,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 15:18:18,328 ERROR [STDERR] at gds.jap.filter.EncodingFilter.doFilter(EncodingFilter.java:56) 15:18:18,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 15:18:18,343 ERROR [STDERR] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) 15:18:18,343 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,359 ERROR [STDERR] at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) 15:18:18,359 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,375 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) 15:18:18,375 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 15:18:18,375 ERROR [STDERR] at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) 15:18:18,375 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) 15:18:18,390 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549) 15:18:18,390 ERROR [STDERR] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) 15:18:18,390 ERROR [STDERR] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) 15:18:18,390 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)

求解!spring+cxf...调用时候出问题了!

[code="java"]21:39:35,781 INFO ClassPathXmlApplicationContext:486 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1aac775: startup date [Sun Aug 07 21:39:35 CST 2011]; root of context hierarchy 21:39:35,937 INFO XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [com/scokim/security/test/client-beans.xml] 21:39:36,453 INFO DefaultListableBeanFactory:555 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1af4abb: defining beans [client,clientFactory]; root of factory hierarchy 21:39:36,812 INFO BusApplicationContext:486 - Refreshing org.apache.cxf.bus.spring.BusApplicationContext@a5b39c: startup date [Sun Aug 07 21:39:36 CST 2011]; root of context hierarchy 21:39:36,875 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] 21:39:37,046 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-corba.xml] 21:39:37,062 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxws.xml] 21:39:37,062 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml] 21:39:37,078 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-xml.xml] 21:39:37,078 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-addr.xml] 21:39:37,093 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-javascript-client.xml] 21:39:37,093 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-local.xml] 21:39:37,093 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml] 21:39:37,109 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-management.xml] 21:39:37,125 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-jetty.xml] 21:39:37,140 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml] 21:39:37,140 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,140 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,140 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,140 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,156 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jms.xml] 21:39:37,156 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-object-binding.xml] 21:39:37,156 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-binding.xml] 21:39:37,171 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml] 21:39:37,171 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-ws-security.xml] 21:39:37,171 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-policy.xml] 21:39:37,187 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-rm.xml] 21:39:37,187 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-corba.xml] 21:39:37,203 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.corba.CorbaBindingFactory': replacing [Generic bean: class [org.apache.cxf.binding.corba.CorbaBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-corba.xml]] with [Generic bean: class [org.apache.cxf.binding.corba.CorbaBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-corba.xml]] 21:39:37,203 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxws.xml] 21:39:37,234 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.jaxws.context.WebServiceContextResourceResolver': replacing [Generic bean: class [org.apache.cxf.jaxws.context.WebServiceContextResourceResolver]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxws.xml]] with [Generic bean: class [org.apache.cxf.jaxws.context.WebServiceContextResourceResolver]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxws.xml]] 21:39:37,234 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.jaxws.context.WebServiceContextImpl': replacing [Generic bean: class [org.apache.cxf.jaxws.context.WebServiceContextImpl]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxws.xml]] with [Generic bean: class [org.apache.cxf.jaxws.context.WebServiceContextImpl]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxws.xml]] 21:39:37,234 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml] 21:39:37,234 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.soap.SoapBindingFactory': replacing [Generic bean: class [org.apache.cxf.binding.soap.SoapBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] with [Generic bean: class [org.apache.cxf.binding.soap.SoapBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] 21:39:37,234 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.soap.SoapTransportFactory': replacing [Generic bean: class [org.apache.cxf.binding.soap.SoapTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] with [Generic bean: class [org.apache.cxf.binding.soap.SoapTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] 21:39:37,250 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.soap.customEditorConfigurer': replacing [Generic bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] with [Generic bean: class [org.springframework.beans.factory.config.CustomEditorConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]] 21:39:37,250 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-xml.xml] 21:39:37,250 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.xml.XMLBindingFactory': replacing [Generic bean: class [org.apache.cxf.binding.xml.XMLBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-xml.xml]] with [Generic bean: class [org.apache.cxf.binding.xml.XMLBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-xml.xml]] 21:39:37,250 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-addr.xml] 21:39:37,250 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] with [Generic bean: class [org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] 21:39:37,250 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] with [Generic bean: class [org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] 21:39:37,265 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.builder.primitive.PrimitiveAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-addr.xml]] 21:39:37,265 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-javascript-client.xml] 21:39:37,265 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.javascript.JavascriptQueryHandlerRegistry': replacing [Generic bean: class [org.apache.cxf.javascript.JavascriptQueryHandlerRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=register; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-javascript-client.xml]] with [Generic bean: class [org.apache.cxf.javascript.JavascriptQueryHandlerRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=register; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-javascript-client.xml]] 21:39:37,265 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-local.xml] 21:39:37,265 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.local.LocalTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.local.LocalTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-local.xml]] with [Generic bean: class [org.apache.cxf.transport.local.LocalTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-local.xml]] 21:39:37,265 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml] 21:39:37,281 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,281 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,281 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,281 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,281 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-management.xml] 21:39:37,281 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.management.InstrumentationManager': replacing [Generic bean: class [org.apache.cxf.management.jmx.InstrumentationManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-management.xml]] with [Generic bean: class [org.apache.cxf.management.jmx.InstrumentationManagerImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-management.xml]] 21:39:37,281 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-jetty.xml] 21:39:37,296 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http.xml] 21:39:37,296 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,296 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,296 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,437 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] with [Generic bean: class [org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http.xml]] 21:39:37,437 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http-jetty.xml]] with [Generic bean: class [org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http-jetty.xml]] 21:39:37,437 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jms.xml] 21:39:37,437 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.transport.jms.JMSTransportFactory': replacing [Generic bean: class [org.apache.cxf.transport.jms.JMSTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jms.xml]] with [Generic bean: class [org.apache.cxf.transport.jms.JMSTransportFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jms.xml]] 21:39:37,437 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-object-binding.xml] 21:39:37,500 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.object.ObjectBindingFactory': replacing [Generic bean: class [org.apache.cxf.binding.object.ObjectBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-object-binding.xml]] with [Generic bean: class [org.apache.cxf.binding.object.ObjectBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-object-binding.xml]] 21:39:37,500 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-http-binding.xml] 21:39:37,500 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.binding.http.HttpBindingFactory': replacing [Generic bean: class [org.apache.cxf.binding.http.HttpBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http-binding.xml]] with [Generic bean: class [org.apache.cxf.binding.http.HttpBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-http-binding.xml]] 21:39:37,500 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml] 21:39:37,500 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.jaxrs.JAXRSBindingFactory': replacing [Generic bean: class [org.apache.cxf.jaxrs.JAXRSBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]] with [Generic bean: class [org.apache.cxf.jaxrs.JAXRSBindingFactory]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml]] 21:39:37,500 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-ws-security.xml] 21:39:37,500 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader': replacing [Generic bean: class [org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-ws-security.xml]] with [Generic bean: class [org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-ws-security.xml]] 21:39:37,500 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-policy.xml] 21:39:37,515 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.AssertionBuilderRegistry': replacing [Generic bean: class [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,515 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry': replacing [Generic bean: class [org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,515 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry': replacing [Generic bean: class [org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder': replacing [Generic bean: class [org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.PolicyBuilder': replacing [Generic bean: class [org.apache.cxf.ws.policy.PolicyBuilderImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.PolicyBuilderImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.PolicyEngine': replacing [Generic bean: class [org.apache.cxf.ws.policy.PolicyEngineImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.PolicyEngineImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider': replacing [Generic bean: class [org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider': replacing [Generic bean: class [org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-policy.xml]] 21:39:37,531 INFO ControlledValidationXmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-rm.xml] 21:39:37,546 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.rm.RMManager': replacing [Generic bean: class [org.apache.cxf.ws.rm.RMManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] with [Generic bean: class [org.apache.cxf.ws.rm.RMManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] 21:39:37,546 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider': replacing [Generic bean: class [org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] with [Generic bean: class [org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] 21:39:37,546 INFO DefaultListableBeanFactory:618 - Overriding bean definition for bean 'org.apache.cxf.ws.rm.RMAssertionBuilder': replacing [Generic bean: class [org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] with [Generic bean: class [org.apache.cxf.ws.policy.builder.jaxb.JaxbAssertionBuilder]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-extension-rm.xml]] 21:39:37,843 INFO DefaultListableBeanFactory:555 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@fec586: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.binding.corba.CorbaBindingFactory,org.apache.cxf.binding.corba.wsdl.WSDLExtensionRegister#0,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.binding.xml.XMLBindingFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.javascript.JavascriptQueryHandlerRegistry,org.apache.cxf.transport.local.LocalTransportFactory,org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider,org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory,org.apache.cxf.management.InstrumentationManager,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.cxf.transport.jms.JMSTransportFactory,org.apache.cxf.binding.object.ObjectBindingFactory,org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.jaxrs.JAXRSBindingFactory,org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader,org.apache.cxf.ws.policy.AssertionBuilderRegistry,org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMManager,org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder,org.apache.cxf.binding.corba.wsdl.WSDLExtensionRegister#1]; root of factory hierarchy 八月 07, 2011 9:39:39 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass 信息: Creating Service {http://ws.scokim.com/}HelloWorldService from class com.scokim.ws.HelloWorld 八月 07, 2011 9:39:41 下午 org.apache.cxf.phase.PhaseInterceptorChain doIntercept 警告: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/HelloWorld/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body><span class="heading">No services have been found.</span></body></html> at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:77) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:671) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2177) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2057) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1982) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:637) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:483) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:309) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:261) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) at $Proxy44.sayHi(Unknown Source) at com.scokim.security.test.Client.main(Client.java:18) Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/HelloWorld/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body><span class="heading">No services have been found.</span></body></html> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146) at $Proxy44.sayHi(Unknown Source) at com.scokim.security.test.Client.main(Client.java:18) Caused by: org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/HelloWorld/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body><span class="heading">No services have been found.</span></body></html> at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:77) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:671) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2177) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2057) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1982) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:637) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:483) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:309) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:261) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) ... 2 more [/code]

ClassNotFoundException:

问题描述: 昨天下午开始复习javaweb时候 准备重温一遍LoginServlet 遇到了一个之前没遇到的问题 点击登陆按钮后 提示错误500 Myeclipse 错误信息如下: 严重: Allocate exception for servlet Login java.lang.ClassNotFoundException: com.servlet.Login at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1050) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:779) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:133) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 问题已经解决 根源是class没有立刻生成 XML文件配置正确 但是class在servlet创建后没有生成 解决方法 在Myeclipse 界面的 projecet 选项里面的 Build Automatically 打上对勾即可

spring整合mybatis时,student.java只构建有参构造函数为什么会报如下错误,加了无参构造错误就会消失

log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Exception in thread "main" org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.entity.Student with invalid types () or values (). Cause: java.lang.NoSuchMethodException: com.entity.Student.<init>() at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:77) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446) at com.sun.proxy.$Proxy1.selectOne(Unknown Source) at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:166) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:63) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:43) at com.sun.proxy.$Proxy2.QueryStudentByPid(Unknown Source) at com.mapper.impl.StudentMapperImpl.QueryStudentByPid(StudentMapperImpl.java:15) at com.service.impl.QueryServiceImpl.QuerServiceStudent(QueryServiceImpl.java:18) at com.test.main(test.java:13) Caused by: org.apache.ibatis.reflection.ReflectionException: Error instantiating class com.entity.Student with invalid types () or values (). Cause: java.lang.NoSuchMethodException: com.entity.Student.<init>() at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:83) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:45) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:38) at org.apache.ibatis.executor.resultset.FastResultSetHandler.createResultObject(FastResultSetHandler.java:386) at org.apache.ibatis.executor.resultset.FastResultSetHandler.createResultObject(FastResultSetHandler.java:365) at org.apache.ibatis.executor.resultset.FastResultSetHandler.getRowValue(FastResultSetHandler.java:261) at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleRowValues(FastResultSetHandler.java:216) at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSet(FastResultSetHandler.java:188) at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSets(FastResultSetHandler.java:154) at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:57) at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:259) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:132) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:433) ... 8 more Caused by: java.lang.NoSuchMethodException: com.entity.Student.<init>() at java.lang.Class.getConstructor0(Class.java:3082) at java.lang.Class.getDeclaredConstructor(Class.java:2178) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:57) ... 31 more

maven打war包部署在tomcat webapps目录下启动不报错,就是访问不了

十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Apache Tomcat/7.0.82 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server built: Sep 29 2017 12:23:15 UTC 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server number: 7.0.82.0 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Name: Mac OS X 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: OS Version: 10.13 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Architecture: x86_64 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Version: 1.8.0_144-b01 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: JVM Vendor: Oracle Corporation 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_BASE: /Users/wujiawei/apache-tomcat-7.0.82 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: CATALINA_HOME: /Users/wujiawei/apache-tomcat-7.0.82 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.config.file=/Users/wujiawei/apache-tomcat-7.0.82/conf/logging.properties 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.endorsed.dirs=/Users/wujiawei/apache-tomcat-7.0.82/endorsed 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.base=/Users/wujiawei/apache-tomcat-7.0.82 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Dcatalina.home=/Users/wujiawei/apache-tomcat-7.0.82 十月 20, 2017 8:48:54 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Command line argument: -Djava.io.tmpdir=/Users/wujiawei/apache-tomcat-7.0.82/temp 十月 20, 2017 8:48:54 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/wujiawei/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. 十月 20, 2017 8:48:55 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 十月 20, 2017 8:48:55 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 十月 20, 2017 8:48:55 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 455 ms 十月 20, 2017 8:48:55 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 十月 20, 2017 8:48:55 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.82 十月 20, 2017 8:48:55 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/docs 十月 20, 2017 8:48:55 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/docs has finished in 204 ms 十月 20, 2017 8:48:55 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/jiaweiwu-0.0.1-SNAPSHOT 十月 20, 2017 8:48:55 下午 org.apache.catalina.startup.TldConfig execute 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 十月 20, 2017 8:48:55 下午 org.springframework.web.servlet.DispatcherServlet initServletBean 信息: FrameworkServlet 'springmvc': initialization started 十月 20, 2017 8:48:55 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh 信息: Refreshing WebApplicationContext for namespace 'springmvc-servlet': startup date [Fri Oct 20 20:48:55 CST 2017]; root of context hierarchy 十月 20, 2017 8:48:56 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from file [/Users/wujiawei/apache-tomcat-7.0.82/webapps/jiaweiwu-0.0.1-SNAPSHOT/WEB-INF/classes/conf/spring-mvc.xml] 十月 20, 2017 8:48:56 下午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c19bfce: defining beans [mvcContentNegotiationManager,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,mainController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy 十月 20, 2017 8:48:56 下午 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping registerHandlerMethod 信息: Mapped "{[/hi],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String controller.MainController.go() 十月 20, 2017 8:48:56 下午 org.springframework.web.servlet.DispatcherServlet initServletBean 信息: FrameworkServlet 'springmvc': initialization completed in 573 ms 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/jiaweiwu-0.0.1-SNAPSHOT has finished in 1,251 ms 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/manager 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/manager has finished in 35 ms 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/examples 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/examples has finished in 127 ms 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/ROOT 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/ROOT has finished in 21 ms 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/host-manager 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deployment of web application directory /Users/wujiawei/apache-tomcat-7.0.82/webapps/host-manager has finished in 23 ms 十月 20, 2017 8:48:56 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 十月 20, 2017 8:48:56 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 十月 20, 2017 8:48:56 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 1699 ms

myBatis中的实体类一旦给它构造方法,使用就会报错,为什么

Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.lyh.dto.Order with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.lyh.dto.Order.<init>() ### The error may exist in cn/lyh/mapper/OrderMapper.xml ### The error may involve cn.lyh.mapper.OrderMapper.getOrder-Inline ### The error occurred while setting parameters ### SQL: select *from orders where order_id=? ### Cause: org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.lyh.dto.Order with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.lyh.dto.Order.<init>() at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) at cn.lyh.test.test.main(test.java:14) Caused by: org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.lyh.dto.Order with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.lyh.dto.Order.<init>() at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:83) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:45) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:38) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createResultObject(DefaultResultSetHandler.java:530) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createResultObject(DefaultResultSetHandler.java:509) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.getRowValue(DefaultResultSetHandler.java:329) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValuesForSimpleResultMap(DefaultResultSetHandler.java:289) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleRowValues(DefaultResultSetHandler.java:264) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSet(DefaultResultSetHandler.java:234) at org.apache.ibatis.executor.resultset.DefaultResultSetHandler.handleResultSets(DefaultResultSetHandler.java:152) at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:57) at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70) at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57) at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:259) at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:132) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105) at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:104) ... 3 more Caused by: java.lang.NoSuchMethodException: cn.lyh.dto.Order.<init>() at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getDeclaredConstructor(Unknown Source) at org.apache.ibatis.reflection.factory.DefaultObjectFactory.instantiateClass(DefaultObjectFactory.java:57) ... 20 more

纠结的了一上午ssh的问题

2010-6-6 11:05:07 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.19. 2010-6-6 11:05:07 org.apache.catalina.core.AprLifecycleListener init 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], rand om [true]. 2010-6-6 11:05:08 org.apache.coyote.http11.Http11AprProtocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2010-6-6 11:05:08 org.apache.coyote.ajp.AjpAprProtocol init 信息: Initializing Coyote AJP/1.3 on ajp-8009 2010-6-6 11:05:08 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1494 ms 2010-6-6 11:05:08 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2010-6-6 11:05:08 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.24 2010-6-6 11:05:08 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor host-manager.xml 2010-6-6 11:05:09 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor manager.xml 2010-6-6 11:05:09 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory docs 2010-6-6 11:05:09 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory examples 2010-6-6 11:05:09 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 2010-6-6 11:05:09 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 2010-6-6 11:05:09 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory ROOT 2010-6-6 11:05:09 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory test_online 2010-6-6 11:05:11 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2010-06-06 11:05:11 Root WebApplicationContext: initialization started 2010-06-06 11:05:12 Refreshing org.springframework.web.context.support.XmlWebApp licationContext@8cd4db: display name [Root WebApplicationContext]; startup date [Sun Jun 06 11:05:12 CST 2010]; root of context hierarchy 2010-06-06 11:05:12 Looking for matching resources in directory tree [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\test_online\WEB-INF\classes ] 2010-06-06 11:05:12 Searching directory [C:\Program Files\Apache Software Founda tion\Tomcat 6.0\webapps\test_online\WEB-INF\classes] for files matching pattern [C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/test_online/WEB- INF/classes/bean-*.xml] 2010-06-06 11:05:12 Resolved location pattern [classpath:bean-*.xml] to resource s [file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\test_onl ine\WEB-INF\classes\bean-action.xml], file [C:\Program Files\Apache Software Fou ndation\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-hibernate.xml], file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\test_online\WEB -INF\classes\bean-service.xml]] 2010-06-06 11:05:12 Loading XML bean definitions from file [C:\Program Files\Apa che Software Foundation\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-acti on.xml] 2010-06-06 11:05:13 Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderF actoryImpl] 2010-06-06 11:05:14 Loading schema mappings from [META-INF/spring.schemas] 2010-06-06 11:05:14 Loaded schema mappings: {http://www.springframework.org/sche ma/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd , http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframe work/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema /context/spring-context-2.5.xsd=org/springframework/context/config/spring-contex t-2.5.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/ springframework/context/config/spring-context-2.5.xsd, http://www.springframewor k.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.5.xs d, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springfram ework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/sche ma/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2. 5.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springfram ework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schem a/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0 .xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframe work/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema /beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2 .0.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/sprin gframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org /schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring- beans-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/ springframework/beans/factory/xml/spring-beans-2.5.xsd, http://www.springframewo rk.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.5.x sd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframewo rk/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/ tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http: //www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/ config/spring-jee-2.0.xsd, http://www.springframework.org/schema/aop/spring-aop- 2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springfram ework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-ao p-2.5.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/spri ngframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema /lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.x sd, http://www.springframework.org/schema/util/spring-util.xsd=org/springframewo rk/beans/factory/xml/spring-util-2.5.xsd} 2010-06-06 11:05:14 Found XML schema [http://www.springframework.org/schema/bean s/spring-beans-2.0.xsd] in classpath: org/springframework/beans/factory/xml/spri ng-beans-2.0.xsd 2010-06-06 11:05:14 Loading bean definitions 2010-06-06 11:05:14 No XML 'id' specified - using 'LoginAction' as bean name and [] as aliases 2010-06-06 11:05:14 No XML 'id' specified - using 'CheckAction' as bean name and [] as aliases 2010-06-06 11:05:14 Loading XML bean definitions from file [C:\Program Files\Apa che Software Foundation\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-hibe rnate.xml] 2010-06-06 11:05:14 Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderF actoryImpl] 2010-06-06 11:05:14 Found XML schema [http://www.springframework.org/schema/bean s/spring-beans-2.5.xsd] in classpath: org/springframework/beans/factory/xml/spri ng-beans-2.5.xsd 2010-06-06 11:05:14 Loading bean definitions 2010-06-06 11:05:14 Loading XML bean definitions from file [C:\Program Files\Apa che Software Foundation\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-serv ice.xml] 2010-06-06 11:05:14 Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderF actoryImpl] 2010-06-06 11:05:14 Found XML schema [http://www.springframework.org/schema/bean s/spring-beans-2.0.xsd] in classpath: org/springframework/beans/factory/xml/spri ng-beans-2.0.xsd 2010-06-06 11:05:14 Loading bean definitions 2010-06-06 11:05:14 No XML 'id' specified - using 'UserCheckService' as bean nam e and [] as aliases 2010-06-06 11:05:14 No XML 'id' specified - using 'build' as bean name and [] as aliases 2010-06-06 11:05:14 Loaded 9 bean definitions from location pattern [classpath:b ean-*.xml] 2010-06-06 11:05:14 Bean factory for application context [org.springframework.we b.context.support.XmlWebApplicationContext@8cd4db]: org.springframework.beans.fa ctory.support.DefaultListableBeanFactory@3087f9 2010-06-06 11:05:14 9 beans defined in org.springframework.web.context.support.X mlWebApplicationContext@8cd4db: display name [Root WebApplicationContext]; start up date [Sun Jun 06 11:05:12 CST 2010]; root of context hierarchy 2010-06-06 11:05:15 Unable to locate MessageSource with name 'messageSource': us ing default [org.springframework.context.support.DelegatingMessageSource@137e2dc ] 2010-06-06 11:05:15 Unable to locate ApplicationEventMulticaster with name 'appl icationEventMulticaster': using default [org.springframework.context.event.Simpl eApplicationEventMulticaster@16e1111] 2010-06-06 11:05:15 Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@5b5df0 ] 2010-06-06 11:05:15 Pre-instantiating singletons in org.springframework.beans.fa ctory.support.DefaultListableBeanFactory@3087f9: defining beans [LoginAction,Che ckAction,dataSource,sessionFactory,TestDAO,StudentsDAO,QuesttionDAO,UserCheckSer vice,build]; root of factory hierarchy 2010-06-06 11:05:15 Creating shared instance of singleton bean 'dataSource' 2010-06-06 11:05:15 Creating instance of bean 'dataSource' 2010-06-06 11:05:15 Eagerly caching bean 'dataSource' to allow for resolving pot ential circular references 2010-06-06 11:05:15 Finished creating instance of bean 'dataSource' 2010-06-06 11:05:15 Creating shared instance of singleton bean 'sessionFactory' 2010-06-06 11:05:15 Creating instance of bean 'sessionFactory' 2010-06-06 11:05:15 Eagerly caching bean 'sessionFactory' to allow for resolving potential circular references 2010-06-06 11:05:15 Returning cached instance of singleton bean 'dataSource' 2010-06-06 11:05:15 Invoking afterPropertiesSet() on bean with name 'sessionFact ory' 2010-06-06 11:05:15 Hibernate 3.2.7 2010-06-06 11:05:15 hibernate.properties not found 2010-06-06 11:05:15 Bytecode provider name : cglib 2010-06-06 11:05:15 using JDK 1.4 java.sql.Timestamp handling 2010-06-06 11:05:16 trying to resolve system-id [http://hibernate.sourceforge.ne t/hibernate-mapping-3.0.dtd] 2010-06-06 11:05:16 recognized hibernate namespace; attempting to resolve on cla sspath under org/hibernate/ 2010-06-06 11:05:16 located [http://hibernate.sourceforge.net/hibernate-mapping- 3.0.dtd] in classpath 2010-06-06 11:05:17 Mapping class: pro.ncbuct.bean.Questtion -> questtion 2010-06-06 11:05:17 Mapped property: id -> id 2010-06-06 11:05:17 Mapped property: title -> title 2010-06-06 11:05:17 Mapped property: score -> score 2010-06-06 11:05:17 Mapped property: answer -> answer 2010-06-06 11:05:17 Mapped property: option1 -> option1 2010-06-06 11:05:17 Mapped property: option2 -> option2 2010-06-06 11:05:17 Mapped property: option3 -> option3 2010-06-06 11:05:17 Mapped property: option4 -> option4 2010-06-06 11:05:17 trying to resolve system-id [http://hibernate.sourceforge.ne t/hibernate-mapping-3.0.dtd] 2010-06-06 11:05:17 recognized hibernate namespace; attempting to resolve on cla sspath under org/hibernate/ 2010-06-06 11:05:17 located [http://hibernate.sourceforge.net/hibernate-mapping- 3.0.dtd] in classpath 2010-06-06 11:05:17 Mapping class: pro.ncbuct.bean.Students -> students 2010-06-06 11:05:17 Mapped property: id -> id 2010-06-06 11:05:17 Mapped property: name -> name 2010-06-06 11:05:17 Mapped property: loginNum -> login_num 2010-06-06 11:05:17 Mapped property: num -> num 2010-06-06 11:05:17 trying to resolve system-id [http://hibernate.sourceforge.ne t/hibernate-mapping-3.0.dtd] 2010-06-06 11:05:17 recognized hibernate namespace; attempting to resolve on cla sspath under org/hibernate/ 2010-06-06 11:05:17 located [http://hibernate.sourceforge.net/hibernate-mapping- 3.0.dtd] in classpath 2010-06-06 11:05:17 Mapping class: pro.ncbuct.bean.Test -> test 2010-06-06 11:05:17 Mapped property: id -> id 2010-06-06 11:05:17 Mapped property: userId -> user_id 2010-06-06 11:05:17 Mapped property: questId -> quest_id 2010-06-06 11:05:17 Mapped property: SAns -> s_ans 2010-06-06 11:05:17 Mapped property: testScore -> test_score 2010-06-06 11:05:17 processing extends queue 2010-06-06 11:05:17 processing collection mappings 2010-06-06 11:05:17 processing native query and ResultSetMapping mappings 2010-06-06 11:05:17 processing association property references 2010-06-06 11:05:17 processing foreign key constraints 2010-06-06 11:05:17 Building new Hibernate SessionFactory 2010-06-06 11:05:17 Preparing to build session factory with filters : {} 2010-06-06 11:05:17 processing extends queue 2010-06-06 11:05:17 processing collection mappings 2010-06-06 11:05:17 processing native query and ResultSetMapping mappings 2010-06-06 11:05:17 processing association property references 2010-06-06 11:05:17 processing foreign key constraints 2010-06-06 11:05:17 Initializing connection provider: org.springframework.orm.hi bernate3.LocalDataSourceConnectionProvider 2010-06-06 11:05:18 RDBMS: MySQL, version: 5.1.45-community 2010-06-06 11:05:18 JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector- java-5.0.8 ( Revision: ${svn.Revision} ) 2010-06-06 11:05:18 Using dialect: org.hibernate.dialect.MySQLDialect 2010-06-06 11:05:18 Transaction strategy: org.springframework.orm.hibernate3.Spr ingTransactionFactory 2010-06-06 11:05:18 No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 2010-06-06 11:05:18 Automatic flush during beforeCompletion(): disabled 2010-06-06 11:05:18 Automatic session close at end of transaction: disabled 2010-06-06 11:05:18 JDBC batch size: 15 2010-06-06 11:05:18 JDBC batch updates for versioned data: disabled 2010-06-06 11:05:18 Scrollable result sets: enabled 2010-06-06 11:05:18 Wrap result sets: disabled 2010-06-06 11:05:18 JDBC3 getGeneratedKeys(): enabled 2010-06-06 11:05:18 Connection release mode: auto 2010-06-06 11:05:18 Maximum outer join fetch depth: 2 2010-06-06 11:05:18 Default batch fetch size: 1 2010-06-06 11:05:18 Generate SQL with comments: disabled 2010-06-06 11:05:18 Order SQL updates by primary key: disabled 2010-06-06 11:05:18 Order SQL inserts for batching: disabled 2010-06-06 11:05:18 Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFa ctory 2010-06-06 11:05:18 Using ASTQueryTranslatorFactory 2010-06-06 11:05:18 Query language substitutions: {} 2010-06-06 11:05:18 JPA-QL strict compliance: disabled 2010-06-06 11:05:18 Second-level cache: enabled 2010-06-06 11:05:18 Query cache: disabled 2010-06-06 11:05:18 Cache provider: org.hibernate.cache.NoCacheProvider 2010-06-06 11:05:18 Optimize cache for minimal puts: disabled 2010-06-06 11:05:18 Structured second-level cache entries: disabled 2010-06-06 11:05:18 Statistics: disabled 2010-06-06 11:05:18 Deleted entity synthetic identifier rollback: disabled 2010-06-06 11:05:18 Default entity-mode: pojo 2010-06-06 11:05:18 Named query checking : enabled 2010-06-06 11:05:18 building session factory 2010-06-06 11:05:18 Session factory constructed with filter configurations : {} 2010-06-06 11:05:18 instantiating session factory with properties: {java.runtime .name=Java(TM) SE Runtime Environment, sun.boot.library.path=C:\Program Files\Ja va\jdk1.6.0_18\jre\bin, java.vm.version=16.0-b13, shared.loader=, java.vm.vendor =Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, tomcat.util.buf.StringCache.byte.enable d=true, file.encoding.pkg=sun.io, user.country=CN, sun.java.launcher=SUN_STANDAR D, sun.os.patch.level=, java.vm.specification.name=Java Virtual Machine Specific ation, user.dir=C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin, java .runtime.version=1.6.0_18-b07, java.awt.graphicsenv=sun.awt.Win32GraphicsEnviron ment, hibernate.current_session_context_class=org.springframework.orm.hibernate3 .SpringSessionContext, java.endorsed.dirs=C:\Program Files\Apache Software Found ation\Tomcat 6.0/common/endorsed, os.arch=x86, java.io.tmpdir=C:\Program Files\A pache Software Foundation\Tomcat 6.0\temp, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, java.naming .factory.url.pkgs=org.apache.naming, os.name=Windows 7, sun.jnu.encoding=GBK, ja va.library.path=C:\Program Files\Java\jdk1.6.0_18\bin;C:\Program Files\Apache So ftware Foundation\Tomcat 6.0\bin, java.specification.name=Java Platform API Spec ification, java.class.version=50.0, sun.management.compiler=HotSpot Client Compi ler, hibernate.transaction.factory_class=org.springframework.orm.hibernate3.Spri ngTransactionFactory, os.version=6.1, sun.io.useCanonCaches=false, user.home=C:\ Documents and Settings\Administrator, catalina.useNaming=true, user.timezone=Asi a/Shanghai, java.awt.printerjob=sun.awt.windows.WPrinterJob, java.specification. version=1.6, file.encoding=GBK, catalina.home=C:\Program Files\Apache Software F oundation\Tomcat 6.0, user.name=Administrator, java.class.path=C:\Program Files\ Apache Software Foundation\Tomcat 6.0/bin/bootstrap.jar;C:\Program Files\Java\jd k1.6.0_18/lib/tools.jar, hibernate.bytecode.use_reflection_optimizer=false, java .naming.factory.initial=org.apache.naming.java.javaURLContextFactory, package.de finition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,o rg.apache.jasper., java.vm.specification.version=1.0, sun.arch.data.model=32, ja va.home=C:\Program Files\Java\jdk1.6.0_18\jre, hibernate.dialect=org.hibernate.d ialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.langu age=zh, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.vers ion=1.6.0_18, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_18\jre\lib\ext;C:\Win dows\Sun\Java\lib\ext, sun.boot.class.path=C:\Program Files\Java\jdk1.6.0_18\jre \lib\resources.jar;C:\Program Files\Java\jdk1.6.0_18\jre\lib\rt.jar;C:\Program F iles\Java\jdk1.6.0_18\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_18\j re\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_18\jre\lib\jce.jar;C:\Program Fil es\Java\jdk1.6.0_18\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_18\jre\c lasses, java.vendor=Sun Microsystems Inc., server.loader=, catalina.base=C:\Prog ram Files\Apache Software Foundation\Tomcat 6.0, file.separator=\, java.vendor.u rl.bug=http://java.sun.com/cgi-bin/bugreport.cgi, hibernate.connection.provider_ class=org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider, comm on.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,$ {catalina.home}/lib/*.jar, sun.cpu.endian=little, sun.io.unicode.encoding=Unicod eLittle, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache. tomcat.,org.apache.jasper.,sun.beans., sun.desktop=windows, sun.cpu.isalist=pent ium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86} 2010-06-06 11:05:19 Destroying singletons in org.springframework.beans.factory.s upport.DefaultListableBeanFactory@3087f9: defining beans [LoginAction,CheckActio n,dataSource,sessionFactory,TestDAO,StudentsDAO,QuesttionDAO,UserCheckService,bu ild]; root of factory hierarchy 2010-06-06 11:05:19 Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'sessionFactory' defined in file [C:\Program Files\Apache Software Founda tion\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-hibernate.xml]: Invocat ion of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTu plizer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory $1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab stractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi ngleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst ractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra ctBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra ctBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst antiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFac toryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(Abstr actApplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Co ntextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont extLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Con textLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.hibernate.HibernateException: Unable to instantiate default tupli zer [org.hibernate.tuple.entity.PojoEntityTuplizer] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTup lizerFactory.java:110) at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(En tityTuplizerFactory.java:135) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEn tityModeToTuplizerMapping.java:56) at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323) at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntity Persister.java:433) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTable EntityPersister.java:109) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFacto ry.java:55) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:231) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory (LocalSessionFactoryBean.java:814) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFacto ry(LocalSessionFactoryBean.java:732) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertie sSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 39 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTup lizerFactory.java:107) ... 52 more Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy .java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java: 216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLaz yInitializer.java:117) at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyF actory.java:43) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTu plizer.java:188) at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTupli zer.java:128) at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java :78) ... 57 more Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.CodeVisitor at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1329) ... 70 more 2010-6-6 11:05:19 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class or g.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'sessionFactory' defined in file [C:\Program Files\Apache Software Founda tion\Tomcat 6.0\webapps\test_online\WEB-INF\classes\bean-hibernate.xml]: Invocat ion of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTu plizer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory $1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab stractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi ngleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst ractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra ctBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra ctBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst antiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFac toryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(Abstr actApplicationContext.java:380) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Co ntextLoader.java:255) at org.springframework.web.context.ContextLoader.initWebApplicationContext(Cont extLoader.java:199) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Con textLoaderListener.java:45) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7 91) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.hibernate.HibernateException: Unable to instantiate default tupli zer [org.hibernate.tuple.entity.PojoEntityTuplizer] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTup lizerFactory.java:110) at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(En tityTuplizerFactory.java:135) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEn tityModeToTuplizerMapping.java:56) at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323) at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntity Persister.java:433) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTable EntityPersister.java:109) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFacto ry.java:55) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:231) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory (LocalSessionFactoryBean.java:814) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFacto ry(LocalSessionFactoryBean.java:732) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertie sSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 39 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTup lizerFactory.java:107) ... 52 more Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy .java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java: 216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLaz yInitializer.java:117) at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyF actory.java:43) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTu plizer.java:188) at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTupli zer.java:128) at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java :78) ... 57 more Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.CodeVisitor at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1329) ... 70 more 2010-6-6 11:05:19 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 2010-6-6 11:05:19 org.apache.catalina.core.StandardContext start 严重: Context [/test_online] startup failed due to previous errors 2010-6-6 11:05:19 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2010-6-6 11:05:19 org.apache.catalina.loader.WebappClassLoader clearReferencesJd bc 严重: A web application registered the JBDC driver [com.mysql.jdbc.Driver] but fai led to unregister it when the web application was stopped. To prevent a memory l eak, the JDBC Driver has been forcibly unregistered. 2010-6-6 11:05:19 org.apache.catalina.loader.WebappClassLoader clearReferencesTh reads 严重: A web application appears to have started a thread named [Timer-0] but has f ailed to stop it. This is very likely to create a memory leak. 2010-6-6 11:05:19 org.apache.catalina.loader.WebappClassLoader clearReferencesTh reads 严重: A web application appears to have started a thread named [MySQL Statement Ca ncellation Timer] but has failed to stop it. This is very likely to create a mem ory leak. 2010-6-6 11:05:19 org.apache.catalina.loader.WebappClassLoader clearThreadLocalM ap 严重: A web application created a ThreadLocal with key of type [null] (value [com. sun.faces.config.ConfigureListener$1@18c4d8e]) and a value of type [null] (value [null]) but failed to remove it when the web application was stopped. To preven t a memory leak, the ThreadLocal has been forcibly removed. 2010-6-6 11:05:19 org.apache.catalina.loader.WebappClassLoader clearThreadLocalM ap 严重: A web application created a ThreadLocal with key of type [org.springframewor k.core.NamedThreadLocal] (value [Prototype beans currently in creation]) and a v alue of type [null] (value [null]) but failed to remove it when the web applicat ion was stopped. To prevent a memory leak, the ThreadLocal has been forcibly rem oved.

org.springframework.beans.factory.BeanCreationException: Error creating

[code="java"] 2012-9-13 16:18:03 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\install\program\board\jdk1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\install\program\board\jdk1.6.0\jre\bin;d:\Program Files (x86)\Sybase\PowerDesigner 16;D:/install/program/board/jdk1.6.0//bin/../jre/bin/client;D:/install/program/board/jdk1.6.0//bin/../jre/bin;D:/install/program/board/jdk1.6.0//bin/../jre/lib/i386;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\cccc\YHTD\AW812\java\jdk;D:\cccc\YHTD\AW823_KS\java\jdk;D:\cccc\YHTD\TC10\CI\java\jdk;D:\install\program\board\jdk1.6.0\\bin;D:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;D:\install\program\eclipse\android-sdk-windows\tools;D:\install\program\eclipse; 2012-9-13 16:18:03 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 2012-9-13 16:18:03 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 2012-9-13 16:18:03 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 408 ms 2012-9-13 16:18:03 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2012-9-13 16:18:03 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.30 2012-9-13 16:18:03 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor E:\program\java\source\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\conf\Catalina\localhost\exam.xml 2012-9-13 16:18:03 org.apache.catalina.startup.SetContextPropertiesRule begin 警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:exam' did not find a matching property. 2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2012-9-13 16:18:05 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 2012-9-13 16:18:05 org.springframework.context.support.AbstractApplicationContext prepareRefresh 信息: Refreshing Root WebApplicationContext: startup date [Thu Sep 13 16:18:05 CST 2012]; root of context hierarchy 2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-dataSource.xml] 2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-dao.xml] 2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml] 2012-9-13 16:18:05 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f6af3b: defining beans [dataSource,dataSource1,sessionFactory,sessionFactory1,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,teacherDao,teacherService]; root of factory hierarchy 2012-9-13 16:18:05 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons 信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f6af3b: defining beans [dataSource,dataSource1,sessionFactory,sessionFactory1,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,teacherDao,teacherService]; root of factory hierarchy 2012-9-13 16:18:05 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-dataSource.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(AbstractAutoProxyCreator.java:384) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446) ... 24 more 2012-9-13 16:18:05 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-dataSource.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(AbstractAutoProxyCreator.java:384) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446) ... 24 more 2012-9-13 16:18:05 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2012-9-13 16:18:05 org.apache.catalina.core.StandardContext startInternal 严重: Context [/exam] startup failed due to previous errors 2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2012-9-13 16:18:05 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 2012-9-13 16:18:05 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 2012-9-13 16:18:05 org.apache.catalina.startup.Catalina start 信息: Server startup in 2111 ms [/code] 配置文件中的内容 [code="java"] <bean id="teacherService" class="org.cc.service.pb.TeacherService"> <property name="teacherDao" ref="teacherDao"/> </bean> [/code] [code="java"] <bean id="teacherDao" class="org.cc.dao.pb.TeacherDao"> <property name="sessionFactory" ref="sessionFactory"/> </bean> [/code] 用网上的办法不能解决

遇到奇怪的问题了,java web的问题

HTTP Status 500 - Error instantiating servlet class com.zuxia.java36.servlet.BulletinServlet type Exception report message Error instantiating servlet class com.zuxia.java36.servlet.BulletinServlet description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class com.zuxia.java36.servlet.BulletinServlet org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) root cause java.lang.ClassNotFoundException: com.zuxia.java36.servlet.BulletinServlet org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs.

eclipse tomcat项目启动报错

[12 21:38:11,361 INFO ] [localhost-startStop-1] annotation.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning [12 21:38:12,168 INFO ] [localhost-startStop-1] xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [config/spring/application-bean.xml] [12 21:38:14,239 INFO ] [localhost-startStop-1] config.PropertyPlaceholderConfigurer - Loading properties file from URL [file:/C:/Users/Think/workspace/iptp/build/classes/config/jdbc.properties] [12 21:38:15,937 INFO ] [localhost-startStop-1] support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19f3deb: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,studentAction,userAction,iStudentDao,iUserDao,iStudentService,iUserService,org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor#0,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sqlSessionFactory,sqlSessionTemplate,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable. log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by log4j:ERROR [sun.misc.Launcher$AppClassLoader@644d46] whereas object of type log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [WebappClassLoader context: /xxxx delegate: false ----------> Parent Classloader: java.net.URLClassLoader@1ebcae2 ]. log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]. [12 21:38:23,465 INFO ] [localhost-startStop-1] context.ContextLoader - Root WebApplicationContext: initialization completed in 14496 ms [12 21:38:25,825 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-default.xml] [12 21:38:26,796 INFO ] [localhost-startStop-1] providers.XmlConfigurationProvider - Parsing configuration file [struts-plugin.xml]

myeclipse创建web项目遇到问题,请各位帮帮忙帮我解答。

![myeclipse创建web项目写一个类继承HttpServlet,重新其Service方法项目报错什么原因](https://img-ask.csdn.net/upload/201609/02/1472782708_415347.png) 然后我忽略这个错误,编好程序,部署到tomcat7上,在浏览器上写好正确的访问请求参数,但返回的页面给我报错:HTTP Status 500 - Error instantiating servlet class com.hs.Hello。 具体原因: type Exception report message Error instantiating servlet class com.hs.Hello description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class com.hs.Hello org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:745) root cause java.lang.Error: Unresolved compilation problem: The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files com.hs.Hello.<init>(Hello.java:1) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:423) java.lang.Class.newInstance(Class.java:442) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:745) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.67 logs. Apache Tomcat/7.0.67

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

springboot+jwt实现token登陆权限认证

一 前言 此篇文章的内容也是学习不久,终于到周末有时间码一篇文章分享知识追寻者的粉丝们,学完本篇文章,读者将对token类的登陆认证流程有个全面的了解,可以动态搭建自己的登陆认证过程;对小项目而已是个轻量级的认证机制,符合开发需求;更多精彩原创内容关注公主号知识追寻者,读者的肯定,就是对作者的创作的最大支持; 二 jwt实现登陆认证流程 用户使用账号和面发出post请求 服务器接受到请求后使用私...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

程序员写出这样的代码,能不挨骂吗?

当你换槽填坑时,面对一个新的环境。能够快速熟练,上手实现业务需求是关键。但是,哪些因素会影响你快速上手呢?是原有代码写的不够好?还是注释写的不够好?昨夜...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

早上躺尸,晚上干活:硅谷科技公司这么流行迟到?

硅谷科技公司上班时间OPEN早已不是什么新鲜事,早九晚五是常态,但有很多企业由于不打卡,员工们10点、11点才“姗姗来迟”的情况也屡见不鲜。 这种灵活的考勤制度为人羡慕,甚至近年来,国内某些互联网企业也纷纷效仿。不过,硅谷普遍弹性的上班制度是怎么由来的呢?这种“流行性迟到”真的有那么轻松、悠哉吗? 《动态规划专题班》 课程试听内容: 动态规划的解题要领 动态规划三大类 求最值/计数/可行性 常...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

大胆预测下未来5年的Web开发

在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...

立即提问
相关内容推荐