1、 Java Web项目(Extjs)报错三

具体报错如下:

  1. at org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine(SpringHelper.java:50)
  2. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  3. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  4. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  5. at java.lang.reflect.Method.invoke(Method.java:597)
  6. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
  7. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
  8. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
  9. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
  10. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  11. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  12. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  13. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  14. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  15. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  16. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  17. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  18. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  19. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
  20. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
  21. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.loadResourceDefine(CustomInvocationSecurityMetadataSourceService.java:50)
  22. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.<init>(CustomInvocationSecurityMetadataSourceService.java:46)
  23. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  24. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  25. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  26. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  27. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
  28. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
  29. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
  30. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
  31. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  32. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  33. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  34. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  35. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  36. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  37. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  38. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  39. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  40. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  41. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  42. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  43. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  44. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRe
  45. gistry.java:225)
  46. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  47. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  48. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  49. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  50. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  51. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  52. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
  53. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
  54. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  55. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  56. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  57. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  58. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  59. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  60. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  61. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  62. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  63. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  64. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  65. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
  66. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  67. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  68. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  69. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  70. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  71. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  72. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  73. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  74. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  75. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  76. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  77. at java.lang.Thread.run(Thread.java:619)
  78. Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  79. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
  80. at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
  81. at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
  82. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
  83. ... 97 more
  84. 2014-3-26 22:56:50 org.hibernate.dialect.Dialect <init>
  85. 信息: Using dialect: org.hibernate.dialect.MySQLDialect
  86. 2014-3-26 22:56:50 org.hibernate.engine.jdbc.JdbcSupportLoader useContextualLobCreation
  87. 信息: Disabling contextual LOB creation as connection was null
  88. 2014-3-26 22:56:50 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
  89. 信息: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
  90. 2014-3-26 22:56:50 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
  91. 信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
  92. 2014-03-26 22:56:50 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6bc2f -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  93. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  94. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  95. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  96. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  97. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  98. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  99. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  100. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  101. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  102. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  103. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  104. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  105. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  106. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  107. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  108. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  109. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  110. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  111. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  112. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  113. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  114. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  115. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  116. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  117. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  118. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  119. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  120. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  121. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  122. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  123. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  124. 信息: Automatic flush during beforeCompletion(): disabled
  125. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  126. 信息: Automatic session close at end of transaction: disabled
  127. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  128. 信息: Scrollable result sets: disabled
  129. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  130. 信息: JDBC3 getGeneratedKeys(): disabled
  131. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  132. 信息: Connection release mode: auto
  133. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  134. 信息: Maximum outer join fetch depth: 1
  135. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  136. 信息: Default batch fetch size: 1
  137. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  138. 信息: Generate SQL with comments: disabled
  139. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  140. 信息: Order SQL updates by primary key: disabled
  141. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  142. 信息: Order SQL inserts for batching: disabled
  143. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
  144. 信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  145. 2014-3-26 22:56:50 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
  146. 信息: Using ASTQueryTranslatorFactory
  147. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  148. 信息: Query language substitutions: {yes='Y', no='N'}
  149. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  150. 信息: JPA-QL strict compliance: disabled
  151. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  152. 信息: Second-level cache: enabled
  153. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  154. 信息: Query cache: disabled
  155. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory createRegionFactory
  156. 信息: Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
  157. 2014-3-26 22:56:50 org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge <init>
  158. 信息: Cache provider: net.sf.ehcache.hibernate.EhCacheProvider
  159. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  160. 信息: Optimize cache for minimal puts: enabled
  161. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  162. 信息: Structured second-level cache entries: disabled
  163. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  164. 信息: Echoing all SQL to stdout
  165. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  166. 信息: Statistics: enabled
  167. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  168. 信息: Deleted entity synthetic identifier rollback: disabled
  169. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  170. 信息: Default entity-mode: pojo
  171. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  172. 信息: Named query checking : enabled
  173. 2014-3-26 22:56:50 org.hibernate.cfg.SettingsFactory buildSettings
  174. 信息: Check Nullability in Core (should be disabled when Bean Validation is on): enabled
  175. 2014-3-26 22:56:50 org.hibernate.impl.SessionFactoryImpl <init>
  176. 信息: building session factory
  177. 2014-3-26 22:56:50 net.sf.ehcache.CacheManager detectAndFixDiskStorePathConflict
  178. 警告: Creating a new instance of CacheManager using the diskStorePath "D:\MyEclipse\apache-tomcat-7.0.41\temp" which is already used by an existing CacheManager.
  179. The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$DefaultConfigurationSource@ca40be.
  180. The diskStore path for this CacheManager will be set to D:\MyEclipse\apache-tomcat-7.0.41\temp\ehcache_auto_created_1395845810674.
  181. To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
  182. 2014-3-26 22:56:50 org.hibernate.cache.impl.bridge.EntityRegionAdapter buildAccessStrategy
  183. 警告: read-only cache configured for mutable entity [com.gwtjs.model.Article]
  184. 2014-3-26 22:56:50 org.hibernate.impl.SessionFactoryObjectFactory addInstance
  185. 信息: Not binding factory to JNDI, no JNDI name configured
  186. 2014-3-26 22:56:50 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
  187. 信息: Running hbm2ddl schema update
  188. 2014-3-26 22:56:50 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
  189. 信息: fetching database metadata
  190. 2014-3-26 22:56:56 net.sf.ehcache.util.UpdateChecker doCheck
  191. 信息: New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]. Please check http://ehcache.org for the latest version.
  192. 2014-03-26 22:57:20 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@185982c -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  193. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  194. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  195. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  196. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  197. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  198. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  199. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  200. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  201. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  202. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  203. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  204. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  205. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  206. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  207. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  208. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  209. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  210. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  211. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  212. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  213. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  214. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  215. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  216. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  217. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  218. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  219. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  220. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  221. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  222. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  223. 2014-03-26 22:57:20 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1c984f9 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  224. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  225. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  226. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  227. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  228. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  229. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  230. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  231. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  232. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  233. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  234. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  235. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  236. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  237. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  238. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  239. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  240. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  241. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  242. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  243. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  244. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  245. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  246. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  247. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  248. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  249. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  250. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  251. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  252. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  253. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  254. 2014-03-26 22:57:20 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#7] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@13911fe -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  255. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  256. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  257. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  258. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  259. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  260. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  261. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  262. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  263. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  264. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  265. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  266. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  267. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  268. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  269. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  270. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  271. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  272. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  273. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  274. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  275. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  276. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  277. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  278. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  279. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  280. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  281. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  282. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  283. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  284. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  285. 2014-3-26 22:57:20 org.hibernate.util.JDBCExceptionReporter logExceptions
  286. 警告: SQL Error: 0, SQLState: null
  287. 2014-3-26 22:57:20 org.hibernate.util.JDBCExceptionReporter logExceptions
  288. 严重: Connections could not be acquired from the underlying database!
  289. 2014-3-26 22:57:20 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
  290. 严重: could not get database metadata
  291. java.sql.SQLException: Connections could not be acquired from the underlying database!
  292. at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
  293. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
  294. at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
  295. at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
  296. at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
  297. at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168)
  298. at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
  299. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
  300. at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
  301. at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
  302. at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)
  303. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  304. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  305. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  306. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  307. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  308. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  309. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  310. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  311. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1098)
  312. at org.jbpm.pvm.internal.processengine.SpringProcessEngine.get(SpringProcessEngine.java:116)
  313. at org.jbpm.pvm.internal.processengine.SpringProcessEngine.create(SpringProcessEngine.java:64)
  314. at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:90)
  315. at org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine(SpringHelper.java:50)
  316. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  317. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  318. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  319. at java.lang.reflect.Method.invoke(Method.java:597)
  320. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
  321. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
  322. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
  323. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
  324. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  325. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  326. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  327. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  328. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  329. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  330. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  331. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  332. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  333. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
  334. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
  335. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.loadResourceDefine(CustomInvocationSecurityMetadataSourceService.java:50)
  336. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.<init>(CustomInvocationSecurityMetadataSourceService.java:46)
  337. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  338. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  339. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  340. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  341. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
  342. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
  343. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
  344. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
  345. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  346. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  347. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  348. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  349. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  350. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  351. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  352. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  353. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  354. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  355. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  356. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  357. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  358. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
  359. y.getSingleton(DefaultSingletonBeanRegistry.java:225)
  360. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  361. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  362. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  363. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  364. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  365. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  366. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
  367. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
  368. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  369. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  370. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  371. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  372. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  373. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  374. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  375. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  376. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  377. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  378. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  379. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
  380. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  381. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  382. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  383. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  384. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  385. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  386. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  387. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  388. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  389. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  390. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  391. at java.lang.Thread.run(Thread.java:619)
  392. Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  393. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
  394. at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
  395. at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
  396. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
  397. ... 97 more
  398. 2014-3-26 22:57:20 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
  399. 严重: could not complete schema update
  400. java.sql.SQLException: Connections could not be acquired from the underlying database!
  401. at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
  402. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
  403. at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
  404. at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
  405. at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
  406. at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168)
  407. at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:384)
  408. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
  409. at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)
  410. at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)
  411. at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)
  412. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  413. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  414. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  415. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  416. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  417. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  418. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  419. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  420. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1098)
  421. at org.jbpm.pvm.internal.processengine.SpringProcessEngine.get(SpringProcessEngine.java:116)
  422. at org.jbpm.pvm.internal.processengine.SpringProcessEngine.create(SpringProcessEngine.java:64)
  423. at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:90)
  424. at org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine(SpringHelper.java:50)
  425. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  426. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  427. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  428. at java.lang.reflect.Method.invoke(Method.java:597)
  429. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
  430. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
  431. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
  432. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
  433. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  434. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  435. at org.springframework.beans.factory.support.AbstractBeanF
  436. actory$1.getObject(AbstractBeanFactory.java:294)
  437. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  438. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  439. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  440. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  441. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  442. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  443. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
  444. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
  445. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.loadResourceDefine(CustomInvocationSecurityMetadataSourceService.java:50)
  446. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.<init>(CustomInvocationSecurityMetadataSourceService.java:46)
  447. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  448. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  449. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  450. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  451. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
  452. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
  453. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
  454. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
  455. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  456. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  457. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  458. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  459. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  460. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  461. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  462. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  463. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  464. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  465. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  466. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  467. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  468. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  469. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  470. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  471. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  472. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  473. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  474. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  475. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
  476. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
  477. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  478. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  479. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  480. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  481. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  482. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  483. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  484. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  485. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  486. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  487. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  488. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
  489. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  490. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  491. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  492. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  493. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  494. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  495. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  496. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  497. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  498. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  499. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  500. at java.lang.Thread.run(Thread.java:619)
  501. Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  502. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
  503. at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
  504. at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
  505. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
  506. ... 97 more
  507. 2014-03-26 22:57:49 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#7] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5e3371 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  508. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  509. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  510. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  511. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  512. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  513. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  514. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  515. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  516. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  517. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  518. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  519. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  520. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  521. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  522. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  523. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  524. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  525. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  526. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  527. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  528. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  529. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  530. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  531. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  532. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  533. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  534. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  535. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  536. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  537. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  538. 2014-03-26 22:57:49 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@837645 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  539. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  540. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  541. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  542. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  543. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  544. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  545. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  546. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  547. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  548. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  549. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  550. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  551. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  552. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  553. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  554. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  555. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  556. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  557. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  558. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  559. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  560. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  561. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  562. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  563. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  564. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  565. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  566. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  567. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  568. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  569. 2014-03-26 22:57:49 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8] WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@3a1e23 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  570. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'frameworktest'
  571. at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
  572. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  573. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  574. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  575. at com.mysql.jdbc.Util.getInstance(Util.java:381)
  576. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
  577. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  578. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
  579. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
  580. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:917)
  581. at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3974)
  582. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1282)
  583. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
  584. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:773)
  585. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
  586. at sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
  587. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  588. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  589. at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
  590. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
  591. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
  592. at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
  593. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
  594. at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
  595. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
  596. at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
  597. at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
  598. at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
  599. at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
  600. 2014-3-26 22:57:49 org.hibernate.util.JDBCExceptionReporter logExceptions
  601. 警告: SQL Error: 0, SQLState: null
  602. 2014-3-26 22:57:49 org.hibernate.util.JDBCExceptionReporter logExceptions
  603. 严重: Connections could not be acquired from the underlying database!
  604. 2014-3-26 22:57:49 org.hibernate.util.JDBCExceptionReporter logExceptions
  605. 警告: SQL Error: 0, SQLState: null
  606. 2014-3-26 22:57:49 org.hibernate.util.JDBCExceptionReporter logExceptions
  607. 严重: Connections could not be acquired from the underlying database!
  608. 2014-3-26 22:57:49 org.hibernate.impl.SessionFactoryImpl close
  609. 信息: closing
  610. 2014-3-26 22:57:49 org.hibernate.impl.SessionFactoryImpl close
  611. 信息: closing
  612. 2014-3-26 22:57:49 org.apache.catalina.core.StandardContext listenerStart
  613. 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
  614. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'customFilter' while setting bean property 'filterChainMap' with key [/**] with key [10]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customFilter' defined in file [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\applicationContext-security.xml]: Cannot resolve reference to bean 'customSecurityMetadataSource' while setting bean property 'securityMetadataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customSecurityMetadataSource' defined in file [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  615. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  616. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  617. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  618. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  619. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
  620. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
  621. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  622. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  623. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  624. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  625. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  626. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  627. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  628. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  629. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  630. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  631. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  632. at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
  633. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
  634. at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  635. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
  636. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
  637. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  638. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  639. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  640. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  641. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  642. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  643. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  644. at java.lang.Thread.run(Thread.java:619)
  645. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customFilter' defined in file [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\applicationContext-security.xml]: Cannot resolve reference to bean 'customSecurityMetadataSource' while setting bean property 'securityMetadataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customSecurityMetadataSource' defined in file [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  646. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  647. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  648. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
  649. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
  650. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  651. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  652. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  653. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  654. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  655. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  656. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  657. ... 29 more
  658. Caused
  659. by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customSecurityMetadataSource' defined in file [D:\MyEclipse\workspace\gwtjs_framework\web\WEB-INF\classes\applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  660. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
  661. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
  662. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  663. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  664. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  665. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  666. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  667. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  668. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  669. ... 39 more
  670. Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  671. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
  672. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
  673. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
  674. ... 47 more
  675. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  676. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)
  677. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)
  678. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
  679. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  680. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  681. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  682. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  683. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  684. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  685. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
  686. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
  687. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
  688. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
  689. at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
  690. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.loadResourceDefine(CustomInvocationSecurityMetadataSourceService.java:50)
  691. at com.gwtjs.spring.security.CustomInvocationSecurityMetadataSourceService.<init>(CustomInvocationSecurityMetadataSourceService.java:46)
  692. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  693. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  694. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  695. at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  696. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
  697. ... 49 more
  698. Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.ProcessEngine org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine()] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  699. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)
  700. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)
  701. ... 69 more
  702. Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  703. at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:596)
  704. at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)
  705. at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)
  706. at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:49)
  707. at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
  708. at org.jbpm.pvm.inter
  709. nal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
  710. at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
  711. at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
  712. at org.jbpm.pvm.internal.processengine.SpringProcessEngine.create(SpringProcessEngine.java:70)
  713. at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:90)
  714. at org.jbpm.pvm.internal.processengine.SpringHelper.createProcessEngine(SpringHelper.java:50)
  715. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  716. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  717. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  718. at java.lang.reflect.Method.invoke(Method.java:597)
  719. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149)
  720. ... 70 more
  721. Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
  722. at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
  723. at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
  724. at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
  725. at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
  726. at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
  727. at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
  728. at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
  729. at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
  730. at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1463)
  731. at org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:555)
  732. ... 85 more
  733. Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
  734. at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
  735. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
  736. at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
  737. at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
  738. at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
  739. ... 90 more
  740. Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
  741. at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
  742. at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
  743. at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
  744. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
  745. ... 93 more
  746. 2014-3-26 22:57:49 org.apache.catalina.core.StandardContext startInternal
  747. 严重: Error listenerStart
  748. 2014-3-26 22:57:49 org.apache.catalina.core.StandardContext startInternal
  749. 严重: Context [/gwtjs_framework] startup failed due to previous errors
  750. 2014-3-26 22:57:49 org.apache.catalina.core.ApplicationContext log
  751. 信息: Closing Spring root WebApplicationContext
  752. 2014-3-26 22:57:49 org.apache.catalina.core.ApplicationContext log
  753. 信息: Shutting down log4j
  754. 2014-3-26 22:57:49 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  755. 严重: The web application [/gwtjs_framework] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  756. 2014-3-26 22:57:49 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
  757. 严重: The web application [/gwtjs_framework] appears to have started a thread named [Thread-1] but has failed to stop it. This is very likely to create a memory leak.
  758. 2014-3-26 22:57:49 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
  759. 严重: The web application [/gwtjs_framework] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
  760. 2014-3-26 22:57:49 org.apache.catalina.startup.HostConfig deployDirectory
  761. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\docs
  762. 2014-3-26 22:57:49 org.apache.catalina.startup.HostConfig deployDirectory
  763. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\examples
  764. 2014-3-26 22:57:49 org.apache.catalina.core.ApplicationContext log
  765. 信息: ContextListener: contextInitialized()
  766. 2014-3-26 22:57:49 org.apache.catalina.core.ApplicationContext log
  767. 信息: SessionListener: contextInitialized()
  768. 2014-3-26 22:57:49 org.apache.catalina.core.ApplicationContext log
  769. 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1c7b21b')
  770. 2014-3-26 22:57:49 org.apache.catalina.startup.HostConfig deployDirectory
  771. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\host-manager
  772. 2014-3-26 22:57:50 org.apache.catalina.startup.HostConfig deployDirectory
  773. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\manager
  774. 2014-3-26 22:57:50 org.apache.catalina.startup.HostConfig deployDirectory
  775. 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\ROOT
  776. 2014-3-26 22:57:50 org.apache.coyote.AbstractProtocol start
  777. 信息: Starting ProtocolHandler ["http-apr-8686"]
  778. 2014-3-26 22:57:50 org.apache.coyote.AbstractProtocol start
  779. 信息: Starting ProtocolHandler ["ajp-apr-8009"]
  780. 2014-3-26 22:57:50 org.apache.catalina.startup.Catalina start
  781. 信息: Server startup in 167249 ms

2、分析原因

虽然数据库配置是正确的,数据库也连接上了,但是数据库中没有frameworktest数据库,故报错

3、解决办法

在MySQL数据库中,新建frameworktest数据库

Java Web项目(Extjs)报错三的更多相关文章

  1. 导入maven的java web项目运行报错找不到Spring监听器

    本地成功运行的一个maven项目,在另一台机器复制下来并导入,运行时报错: java.lang.ClassNotFoundException: org.springframework.web.cont ...

  2. C# 单元测试能过,但Web项目就报错!

    第一印象肯定是两个项目中各有不同的地方 背景: 公司项目采用IBatic+Castle实现 排查过程: 1.sqlmap文件是否一至,并且读取位置也要正确 2.dao.config文件要一至,读取位置 ...

  3. servlet web项目连接数据库报错

    报错信息类似这样: Wed May 27 14:15:54 CST 2020 WARN: Establishing SSL connection without server's identity v ...

  4. 【ContextLoaderListener】Web项目启动报错java.lang.ClassNotFoundException: ContextLoaderListener

    错误原因: 进入到tomcat的部署路径.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\下检查了一下,发现工程部署后在WE ...

  5. gradle web项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener

    严重: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanup ...

  6. java导入web项目httpservlet报错

    于是开始了,调错之路. 解决方法:鼠标右击项目工程——>Build Path——>点击comfigure Build Path进入----->选择java Bulid Path--- ...

  7. springboot 初始化 web 项目 启动报错。。。一直解决不了

    1. 一个简单的SpringBoot项目,启动时报错信息: ERROR 18688 --- [cat-startStop-1] org.apache.catalina.core.ContainerBa ...

  8. idea 创建运行web项目时,报错: Can not issue executeUpdate() for SELECTs解决方案

    最近在做一个Web课程设计的时候遇到了如下的问题. java.sql.SQLException: java.lang.RuntimeException: java.sql.SQLException: ...

  9. 【maven】maven的web项目打包报错:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

    打包过程中报错如下: No compiler is provided in this environment. Perhaps you are running on a JRE rather than ...

  10. java web应用启动报错:Caused by: java.lang.ClassNotFoundException: ServletContext

    ServletContext是个接口,不同的WEB容器(tomcat, jboss等)都有各自的实现. 一般是缺少servlet-api.jar包 在Java Build Path的Libraries ...

随机推荐

  1. xDB and sitecore 8 hardware Recommendations

    xDB and sitecore 8 hardware Recommendations as below: xDB hardware guidelines https://doc.sitecore.n ...

  2. Spring学习之二

    1.初始化和销毁Bean 当实例化一个Bean时,可能需要执行一些初始化操作来确保该Bean处于可用状态.同样地,当不需要Bean时,将其从容器中移除时,我们可能还需要按顺序的执行一些清除工作. 为定 ...

  3. bzoj 4830: [Hnoi2017]抛硬币 [范德蒙德卷积 扩展lucas]

    4830: [Hnoi2017]抛硬币 题意:A投a次硬币,B投b次硬币,a比b正面朝上次数多的方案数,模\(10^k\). \(b \le a \le b+10000 \le 10^{15}, k ...

  4. SPOJ DIVCNT2 [我也不知道是什么分类了反正是数论]

    SPOJ DIVCNT2 - Counting Divisors (square) 题意:求 \[ \sum_{i=1}^n\sigma_0(i^2) \] 好棒啊! 带着平方没法做,考虑用其他函数表 ...

  5. jenkins入门系列之一 jenkins的安装

    Jenkins是一个CI(持续集成环境)工具.它可以根据设定持续定期编译,运行相应代码:运行UT或集成测试:将运行结果发送至邮件,或展示成报告... 这样做的最终目的是: 让项目保持健康的状态.如果任 ...

  6. 用 k8s 运行一次性任务 - 每天5分钟玩转 Docker 容器技术(132)

    容器按照持续运行的时间可分为两类:服务类容器和工作类容器. 服务类容器通常持续提供服务,需要一直运行,比如 http server,daemon 等.工作类容器则是一次性任务,比如批处理程序,完成后容 ...

  7. php header解决跨域问题

    header('Access-Control-Allow-Credentials:true'); header('Access-Control-Allow-Origin:http://wdjkj.co ...

  8. qt实现一个简单的计算器

    1.计算器的界面如下图所示 dalog.cpp #include "dialog.h" #include "ui_dialog.h" #include<Q ...

  9. zabbix安装步骤

    第一步:安装环境 Zabbix要求的环境 组件 版本要求 Apache版本 1 .3.1 2 MySQL版本 5.0.3 PHP版本 5.4.0 本次安装的环境 组件 版本要求 操作系统 CentOS ...

  10. MySQL对sum()字段 进行条件筛选,使用having,不能用where

    显示每个地区的总人口数和总面积.仅显示那些面积超过1000000的地区. SELECT region, SUM(population), SUM(area) FROM bbc GROUP BY reg ...