- 浏览: 29533 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
danielchen19:
信息: ExtensionValidator[/Connect ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因 -
ddandyy:
要求代码是不允许的
你要的东西有JS的 去网上找吧
给了阿拉伯数字金额转换为中文大写金额的代码,如(1011.01)--->(一千零一拾一元零一分) -
ddandyy:
可真暈...........
怎麽會看到這種帖子...... ...
用java代码实现判断输入的字符串是合法的电子邮箱地址 -
danielchen19:
但现在又出现了一个连接oracle的exception
20 ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因 -
danielchen19:
以上这个问题也解决了,只要重新将Tomcat 装在自定义的目录 ...
部署了项目,但运行Tomcat时控制台报以下错误,请问是什么原因
2007-8-7 14:46:34 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
2007-8-7 14:46:35 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2007-8-7 14:46:35 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 641 ms
2007-8-7 14:46:35 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-8-7 14:46:35 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.11
2007-8-7 14:46:35 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "ant" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "qdox" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "javadoc" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote]: Failure to find 3 required extension(s). 其实我已加了这个jar进去的
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Context [/ConnectNote] startup failed due to previous errors <------------------标红色这里
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ConnectNote] has not been started
2007-8-7 14:46:36 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2007-8-7 14:46:36 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2007-8-7 14:46:36 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47 config=null
2007-8-7 14:46:36 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2007-8-7 14:46:36 org.apache.catalina.startup.Catalina start
信息: Server startup in 1562 ms
只看这东西也看不出来名堂哦
评论
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "qdox" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "javadoc" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote]: Failure to find 3 required extension(s).
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Context [/ConnectNote] startup failed due to previous errors
出现这个问题除了加上commons-attributes-compiler.jar这个文件外,还要再重新部署一次才不会有错。
2007-08-12 10:50:24,734 [main] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied
)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:862)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:804)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:744)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:540)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:239)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:295)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:344)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:148)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:884)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:858)
... 50 more
2007-08-12 10:50:24,812 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.Oracle9Dialect
2007-08-12 10:50:24,843 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
2007-08-12 10:50:24,843 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: on_close
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
2007-08-12 10:50:24,859 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2007-08-12 10:50:24,890 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.NoCacheProvider
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
2007-08-12 10:50:24,890 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
2007-08-12 10:50:24,921 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
2007-08-12 10:50:24,921 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
2007-08-12 10:50:24,921 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
2007-08-12 10:50:24,921 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
2007-08-12 10:50:25,000 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
2007-08-12 10:50:25,546 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [dataSource,sessionFactory,transactionManager,jdbcTransactionManager,/module/result,MemberService,MemberServiceTarget,MemberDaoTarget]; root of BeanFactory hierarchy}
2007-08-12 10:50:25,546 [main] ERROR org.springframework.web.struts.ContextLoaderPlugIn - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Caused by:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
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(CGLIBLazyInitializer.java:107)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:269)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1291)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:804)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:744)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:540)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2007-08-12 10:50:25,546 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ConnectNote] - action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Caused by:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
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(CGLIBLazyInitializer.java:107)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:269)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1291)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:804)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:744)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:355)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:296)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:540)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2007-08-12 10:50:25,562 [main] INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ConnectNote] - Marking servlet action as unavailable
2007-08-12 10:50:25,562 [main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ConnectNote] - Servlet /ConnectNote threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:880)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:540)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2007-8-12 10:50:25 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2007-8-12 10:50:25 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2007-8-12 10:50:25 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31 config=null
2007-8-12 10:50:25 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2007-8-12 10:50:26 org.apache.catalina.startup.Catalina start
信息: Server startup in 8422 ms
严重: Error listenerStart
2007-8-12 8:37:30 org.apache.catalina.core.StandardContext start
严重: Context [/ConnectNote] startup failed due to previous errors
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "ant" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "qdox" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote][commons-attributes-compiler.jar]: Required extension "javadoc" not found.
2007-8-7 14:46:36 org.apache.catalina.util.ExtensionValidator validateManifestResources
信息: ExtensionValidator[/ConnectNote]: Failure to find 3 required extension(s).
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2007-8-7 14:46:36 org.apache.catalina.core.StandardContext start
严重: Context [/ConnectNote] startup failed due to previous errors
这个问题已经解决了
相关推荐
在Tomcat服务器上部署并运行Web项目是Java EE开发中常见的操作,通常涉及以下知识点: 1. **Myeclipse IDE的使用**:Myeclipse是一个集成开发环境,它支持多种应用程序开发,包括Java EE。Myeclipse通常用于Web项目...
【Tomcat Manage 控制台详解】 Tomcat 是一个流行的开源 Java 应用服务器,它提供了丰富的管理和监控功能。本文将详细介绍如何使用 Tomcat 自带的 Web 管理控制台,以及如何配置和理解其中的参数。 ### 1. Tomcat ...
2. **修改执行器地址**:在添加任务时,需要填写执行器项目的地址(即上述部署到Tomcat的地址)。 3. **启动任务**:设置好任务后,点击“启动”按钮来触发任务执行。 4. **查看日志**:在任务列表中可以查看任务...
Tomcat 是一个流行的 Java Web 服务器,用于部署和运行基于 Java 的 Web 应用程序。但是,在某些情况下,Tomcat 的详细错误日志可能会消失,只报一个万恶的 Context [] startup failed due to previous errors,却找...
如果你遇到问题,可以检查`logs`目录下的日志文件,如`catalina.out`,它们会记录Tomcat运行时的错误信息。根据错误信息,你可以查找解决方案或调整配置。 总之,手动部署Tomcat涉及下载和解压缩Tomcat,配置环境...
这个版本的亮点在于它兼容较旧的Java Development Kit (JDK) 1.4,这意味着即使在不支持新版本JDK的环境中,开发者也能顺利运行Tomcat服务器。Tomcat作为轻量级应用服务器,因其开源、免费和高效而备受青睐。 ...
对于初学者或者经验不足的开发者来说,正确地在本地环境中部署并运行Tomcat可能会遇到一些常见的问题。本文将以“Tomcat部署笔记”为引子,深入探讨在Windows环境下使用Eclipse IDE进行Tomcat部署的具体步骤及常见...
- **Path**:在系统变量`Path`中添加`%CATALINA_HOME%\bin`,以便从任何目录都能运行Tomcat的命令行工具。 - **CLASSPATH**:在`CLASSPATH`变量中添加`%CATALINA_HOME%\lib;%CATALINA_HOME%\lib\servlet-api.jar`...
Web项目部署到服务器时,尤其是采用war包部署到Tomcat服务器,经常会出现各种运行时的问题。本文将详细解析在部署过程中遇到的一个具体问题——使用startup.bat批处理文件启动Tomcat时,应用直接闪退,无法成功部署...
在IT行业中,尤其是在服务器管理和应用部署的领域,Tomcat是一个非常常见的Java应用服务器,它用于运行Web应用程序。当遇到问题时,理解如何让Tomcat输出详细的错误信息是至关重要的,因为这些信息能帮助我们诊断和...
### Tomcat 的部署 #### 知识点一:Tomcat简介及在Android服务器端的应用 - **Tomcat简介**:Apache Tomcat是一款开源的Servlet容器,它实现了Servlet和JavaServer Pages (JSP)技术规范,并提供了作为Web服务器的...
配置完 Tomcat 后,在 Eclipse 控制台中虽然没有报错,但在浏览器中尝试访问 `http://localhost:8080` 时却出现 404 错误。这种情况通常是由于配置不正确或项目路径问题导致的。 **2.1 解决方法** - **方法 1:** ...
此外,确保你的Flex和Java版本与Tomcat版本兼容也很重要,因为不兼容的版本可能导致运行时错误或性能问题。 总的来说,将Flex开发工程发布到Tomcat是一个关键的环节,它使得前端和后端的整合成为可能,同时也为测试...
Tomcat6是Apache软件基金会的Jakarta项目中的一个核心项目,它是一个开源的、免费的Web应用服务器,主要用于部署Java Servlet和JavaServer Pages(JSP)应用程序。这个“能用的Tomcat6”指的是已经配置好并且可以...
4. **监控和管理**:一旦部署,你可以通过Tomcat的管理控制台或部署器工具来监控和管理应用程序的状态,包括启动、停止、更新或移除应用。 **标签解析:** - **apache-tomcat**:代表这是Apache组织开发的Tomcat...
### Weblogic项目部署知识点 #### 一、Weblogic安装与配置 **1.1 准备安装包** - **Weblogic安装包**: 包含Weblogic服务器的核心组件和工具。 - **项目部署包**: 通常是指待部署的应用程序或者项目的打包文件。 **...
例如,`bin`目录包含了启动和停止Tomcat的脚本,`webapps`用于放置你的Web应用,`conf`存放配置文件,而`lib`则包含运行Tomcat所需的库文件。通过正确配置和使用这些组件,你可以构建和运行高效、安全的Java Web应用...
Apache Tomcat 7是Apache软件基金会的一个开源项目,专门用于实现Java Servlet和JavaServer Pages(JSP)技术的标准,以及Java EE的Web应用程序部署。这个最新版本,即7.0.109,包含了对先前版本的改进和修复,旨在...
这个版本在发布时是一个稳定且广泛使用的版本,为开发者提供了在Web开发中部署Java应用的服务。 描述中的“tomcat下载 很好用哦”意味着Apache Tomcat在用户中有良好的口碑,易于下载和使用。它通常用于运行基于...
在IT行业中,Tomcat是一个广泛使用的轻量级Java EE应用服务器,主要负责运行Servlet和JSP应用程序。本篇文章将详细讲解如何使用Tomcat部署静态网站,以便为用户提供一个高效、简洁的服务平台。 首先,让我们从基础...