当前位置: 代码迷 >> resolve的解决方案
 
  • 配置spring security疏失,速救啊

    配置springsecurity出错,速救啊!本帖最后由XIAyuzheng于2013-10-0410:26:10编辑信息:Destroyingsingletonsinorg.springframework.beans.factory.support.DefaultListableBeanFactory@8ddb93:definingbeans[org.springframework.securi...

    19
    热度
  • hibernate的id生成策略有关问题

    hibernate的id生成策略问题我用的oracle数据库,hibernate中id的主键生成策略我从之前的assigned换成了序列<generatorclass="sequence"><paramname="sequence">xxx_SEQUENCE</param></generator>我再数据库中我也创建了序列,,,序列名就是xxx_SE...

    200
    热度
  • g.ClassCastException: $Proxy0 cannot be cast to org.hibernate.

    tomcat启动错误,大家帮帮我吧,谢谢!13:51:31,062INFOSettingsFactory:283-Defaultentity-mode:pojo13:51:31,156INFOSessionFactoryImpl:154-buildingsessionfactory13:51:32,218INFOSessionFactoryObjectFactory:82-Notbindingfa...

    637
    热度
  • exception is org.hibernate.MappingException: could not instantiate id generator

    hibernate2升级到hibernate3的报错问题急。。。架构是struts+spring+hibernate现在是hibernate2想升级到hibernate3更新了相关的jar包和引用的地方,现在启动的时候报错org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'monthPl...

    412
    热度
  • 很简单的题目,小弟我想不明白

    很简单的题目,我想不明白classC{ inti=1;}classDextendsC{ inti=2;}publicclassTest2{ publicstaticvoidmain(String[]args){ Cc1=newD(); System.out.println(c1.i); Cc2=newD(); System.out.println(((D)c2).i); }}运行结果是什么...

    70
    热度
  • svn的应用总结

    svn的使用总结http://www.cppblog.com/kuramawzw/archive/2011/04/26/145048.aspx命令详细说明http://www.neatstudio.com/show-572-1.shtml这个不错,命令都挺详细http://wangjiajun53880.blog.163.com/blog/static/1170013942010119533441...

    8491
    热度
  • 同目录下两个类,互相找不到.为什么

    同目录下两个类,互相找不到.为什么 在同一个文件夹里有A.java和B.java在A.JAVA中使用B例如Bb=newB();总是找不到B这个类.B.java可以正常通过编译,执行编译错误为cannotresolvesymbol 搜索更多相关的解决方案: color="red">cannotcolor="red">文件夹 ...

    71
    热度
  • [求助]请务必高抬贵手!

    [求助]请务必高抬贵手! 各位师兄,小弟在编的一个简单的小程序出现以下情况,令小弟百思不得其解,请各位帮助publicclassTestJ{publicstaticvoidmain(String[]args){int[][]a={{1,2,3,4,5},{6,7,8,9,10},{11,12,13,14,15},};for(inti=0;i<a.length;i+...

    98
    热度
  • 关于默认构造器的问题

    关于默认构造器的问题 publicclassGarden{publicStringgetFlower(StringstrFlowerName){if(strFlowerName.equals("rose")){returnnewRose();}if(strFlowerName.equals("peony")){returnnewPeony();}returnnull;}...

    230
    热度
  • 除了enterprise console manager以外,sqlplus system/qazwsx@linux ,PLSQLdeveloper ,TOAD都不能访问数据库解决思路

    除了enterpriseconsolemanager以外,sqlplussystem/qazwsx@linux,PLSQLdeveloper,TOAD都不能访问数据库除了enterpriseconsolemanager以外,sqlplussystem/qazwsx@linux,PLSQLdeveloper,TOAD仍然不能访问数据库,报12154TNScouldnotresolvetheconne...

    238
    热度
  • 求cas高手,该怎么处理

    求cas高手我做了一个简单的cas应用在布置服务器端的时候一直报一个错误不知道怎么改,求高手解释下面是贴出错误信息和配置文件2012-10-1016:51:31,847ERROR[org.springframework.web.context.ContextLoader]-<Contextinitializationfailed>org.springframework.beans.fa...

    63
    热度
  • 高分求解Spring配置有关问题,解答

    高分求解Spring配置问题,在线等解答!公司的项目需要重构---把原来的XML里边的bean配置全都换成注入注解,现在报以下错误:(MSCservicethread1-2)Contextinitializationfailed:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'iat...

    29
    热度
  • myeclipse中小弟我把项目重编译了一下,再启动的时候就报错了,请各位牛人帮忙看下,谢谢

    myeclipse中我把项目重编译了一下,再启动的时候就报错了,请各位牛人帮忙看下,多谢。错误信息:2013-07-0414:36:47,515ERROR[org.springframework.web.context.ContextLoader]-<Contextinitializationfailed>org.springframework.beans.factory.BeanCr...

    24
    热度
  • SSH整合出错 Struts Problem Report?该如何处理

    SSH整合出错StrutsProblemReport?StrutsProblemReportStrutshasdetectedanunhandledexception:Messages: classorg.hibernate.cfg.ExtendedMappingshasinterfaceorg.hibernate.cfg.MappingsassuperclassErrorcreatingbean...

    842
    热度
  • 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
    热度
  • Error applicationContext.xml求大侠高手帮帮忙!各种求.该怎么处理

    ErrorapplicationContext.xml求大侠高手帮帮忙!!各种求...新手使用SSI框架,下午配置这个[applicationContext.xml]文件,然后发布到tomcat里面就报如下错误,使用的包是org.springframework.jdbc.datasource(3.06版)还有看见有得大侠说是Sprong和ibatis的jar包冲突,求解决办法,是以Sprong还是...

    442
    热度
  • 请教一个,数据库连接的有关问题。(待)

    请教一个,数据库连接的问题。(在线等待)我现在有以下的代码:Connectioncon;Statementstmt;ResultSetres;//addClass.forName("com.mysql.jdbc.Driver").newInstance();con=DriverManager.getConnection("jdbc:mysql://localhost:...

    88
    热度
  • javaBean的工作机制是什么?小弟我的javabean如何总是报错

    javaBean的工作机制是什么?我的javabean怎么总是报错?jsp页面:--------------<%@pagecontentType="text/html;charset=gb2312"language="java"import="java.sql.*"errorPage="error.jsp"%&g...

    11
    热度
  • spring+ibatis+struts的一个小东西,出了个错,烦劳大家看看

    spring+ibatis+struts的一个小东西,出了个错,麻烦大家看看先看网页上的错误信息吧:javax.servlet.ServletException:Errorcreatingbeanwithname'managerFacade'definedinclasspathresource[spring.xml]:Cannotresolvereferencetobean'...

    71
    热度
  • 求cas好手

    求cas高手我做了一个简单的cas应用在布置服务器端的时候一直报一个错误不知道怎么改,求高手解释下面是贴出错误信息和配置文件2012-10-1016:51:31,847ERROR[org.springframework.web.context.ContextLoader]-<Contextinitializationfailed>org.springframework.beans.fa...

    6671
    热度