• 手机版

    扫码体验手机版

  • 微信公众号

    扫码关注公众号

国内首家协议开发

软芯音视解码保护平台

在线
客服

发布
需求

在线
聊天

天盟
APP

天盟APP下载

关注
微信

微信扫一扫访问
顶部

SSH员工整合报错

九月 11, 2016 11:14:21 上午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: ""        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:610)        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)        at java.util.concurrent.FutureTask.run(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)Caused by: java.lang.NumberFormatException: For input string: ""        at java.lang.NumberFormatException.forInputString(Unknown Source)        at java.lang.Integer.parseInt(Unknown Source)        at java.lang.Integer.parseInt(Unknown Source)        at org.hibernate.cfg.HbmBinder.bindColumn(HbmBinder.java:1676)        at org.hibernate.cfg.HbmBinder.bindColumns(HbmBinder.java:1085)        at org.hibernate.cfg.HbmBinder.bindColumnsOrFormula(HbmBinder.java:1547)        at org.hibernate.cfg.HbmBinder.bindSimpleValue(HbmBinder.java:1143)        at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2102)        at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2060)        at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:381)        at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:295)        at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:166)        at org.hibernate.cfg.Configuration.add(Configuration.java:716)        at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:551)        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:680)        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509)        ... 21 more这个是什么错啊?求做完的同学帮忙看看。。

免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。

版权声明:作者保留权利,不代表天盟立场。

使用道具 举报

全部参与1

nestedexceptionisjava.lang.NumberFormatException:Forinputstring:""
不都告诉你是String不能转换为数字了嘛

使用道具 举报

发新帖

发布任务需求已有1031289位用户正在使用天盟网服务

发布分类: *
任务预算: *
需求内容: *
手机号码: *
任务商家报价为
  • 预算价 :
  • 成交价 :
  • 完工期 :
  • 质保期 :

* 最终任务项目以服务商报价、双方协商为准!