当前位置: 代码迷 >> 41051的解决方案
 
  • org.springframework.jdbc.UncategorizedSQLException: Hibernate operation

    ssh框架SqlServer数据库,当注册时候,插如数据库时提示一下错误。不知道时数据库版本有问题还是其他的错误?请知情者给予帮助。Hibernate:insertintoshare.dbo.user(name,password,telephone,email,question,answer,noticedtimes)values(?,?,?,?,?,?,?)selectscope_identit...

    114
    热度
  • ssh框架,启动tomcat就报错提示找不到spring配置文件解决思路

    ssh框架,启动tomcat就报错提示找不到spring配置文件报错代码:严重:action:nullorg.springframework.beans.factory.BeanDefinitionStoreException:IOExceptionparsingXMLdocumentfromServletContextresource[/WebRoot/WEB-INF/classes/appli...

    97
    热度
  • javamail 发送邮件疏失 急

    javamail发送邮件出错急急!!!发送邮件的servlet;这个是简单的文本发送但是就是有错发送不成功请大家看看说是Transport.send(msg);这条语句出错publicclassSendextendsHttpServlet{publicSend(){super();}publicvoiddoPost(HttpServletRequestrequest,HttpServletResp...

    1117
    热度
  • S2SI框架 遇到的小疑点

    S2SI框架遇到的小问题HTTPStatus500---------------------------------------------typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionUnable...

    177
    热度
  • 在给一个数据库访问类写单元测试时,出现了table or view does not exist异常

    在给一个数据库访问类写单元测试时,出现了tableorviewdoesnotexist错误错误完整提示XMLcodeorg.springframework.jdbc.BadSqlGrammarException:SqlMapClientoperation;badSQLgrammar[];41051'>nestedexceptioniscom.ibatis.common.jdbc.exception...

    184
    热度
  • A ResourcePool could not acquire a resource from its primary factory or source

    ssh2整合,一用c3p0就出错!ssh2整合,不用数据连接池,完全正常;换c3p0就出错!而且启动服务慢,请求响应也很慢!这个c3p0有什么猫腻?我在applicationContext.xml中如下配置:XMLcode<beanid="propertyConfigurer"class="org.springframework.beans.factory.co...

    839
    热度
  • org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback

    向mysql中插入汉字报错,英文正常,我用的是JdbcTemplatepublicvoidupdate(){ Personperson=personService.getPerson(1); person.setName("楠");//英文就行,汉字直接报错,不知为什么,貌似是编码问题,但不知道是哪的编码问题 personService.update(person); ...

    439
    热度
  • Invalid property 'prceedService' of bean class [com.myems.login.action.ProceedAc解决方案

    Invalidproperty'prceedService'ofbeanclass[com.myems.login.action.ProceedAc出现这样的问题:Invalidproperty'prceedService'ofbeanclass[com.myems.login.action.ProceedAction]:Beanproperty'prceedService'isnotwritab...

    227
    热度
  • SSH 数据库 连接出错

    求助SSH数据库连接出错我把别人eclipse上的项目拷贝到我机器上就出错了帮帮小弟啊!javax.servlet.ServletException:org.springframework.transaction.CannotCreateTransactionException:CouldnotopenHibernateSessionfortransaction;41051'>nestedexce...

    864
    热度
  • mybatis在插入的时候,获取插入主键报错 T_T解决办法

    mybatis在插入的时候,获取插入主键报错T_T这是配置XMLcode<insertid="insert"parameterType="com.imad.po.UserInfo"useGeneratedKeys="true"keyProperty="uId">insertintotbl_UserInfo(...

    50
    热度
  • Spring小疑点,

    Spring小问题,在线等!!!!最近在学习springaop在断网时,eclipse报错applicationContext.xml<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEbeansPUBLIC"-//SPRING//DTDBEAN2.0//EN""http:...

    117
    热度
  • hibernate4.0+spring3.1+struts2.2.3集成有关问题

    hibernate4.0+spring3.1+struts2.2.3集成问题hibernate4.0+spring3.1+struts2.2.3集成问题,自己配置数据源datasSource值和hibernate.cfg.xml中的值是一样的运行没有问题,但是配置SessionFactory的configLocation属性时出现异常:hibernate.cfg.xml如下:<hiberna...

    518
    热度
  • hibernate.cfg.xml 加载映射文件有,tomcat无法启动解决思路

    hibernate.cfg.xml加载映射文件有,tomcat无法启动<propertyname="hibernate.dialect"> org.hibernate.dialect.SQLServerDialect </property> <propertyname="hibernate.show_sql">true&...

    723
    热度
  • 关于事物的一个错误

    关于事物的一个异常这是我spring中事物的配置: <!--配置事物--> <beanid="transactionManager"class="org.springframework.transaction.interceptor.TransactionInterceptor"> <propertyname="s...

    84
    热度
  • SSH配置文件有关问题

    SSH配置文件问题刚完成个程序,有人说我代码不规范,我就照个“规范”的改,无非就是把以前都写在一个配置文件里的拆开放置了,一拆开就出现异常,在网上也没查出个所以然来,大家帮看看是什么原因。严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.Context...

    56
    热度
  • 这个异常提示是什么意思呢

    这个错误提示是什么意思呢HTTPStatus500-typeExceptionreportmessagedescriptionTheserverencounteredaninternalerror()thatpreventeditfromfulfillingthisrequest.exceptionorg.apache.jasper.JasperException:org.springframew...

    43
    热度
  • 求解spring +ibatis+junit单元测试解决方法

    求解spring+ibatis+junit单元测试[SpringJUnit4ClassRunner.java:78]:SpringJUnit4ClassRunnerconstructorcalledwith[classcom.lenovo.lxj.product.ClientTest].org.springframework.beans.factory.BeanCreationException:...

    97
    热度
  • struts2+spring3+mybatis3配置报错,求大侠帮忙啊该如何处理

    struts2+spring3+mybatis3配置报错,求大侠帮忙啊严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreatio...

    99
    热度
  • hibernate中的save有关问题

    hibernate中的save问题javax.servlet.ServletException:org.springframework.dao.InvalidDataAccessApiUsageException:com.entity.User;41051'>nestedexceptionisorg.hibernate.TransientObjectException:com.entity.Use...

    75
    热度
  • Caused by: org.springframework.orm.hibernate3.HibernateQueryException:

    这是什么错?java.lang.reflect.InvocationTargetException atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource) atsun.reflect.DelegatingMeth...

    473
    热度