- 浏览: 647587 次
- 性别:
- 来自: 青岛
文章分类
最新评论
-
mojingqing:
感谢!
MySQL修改my.ini后,出现错误:Incorrect information in file: '.\xx\xx.frm -
qq3061280:
qq3061280 写道
FATAL ERROR in native method: JDWP No transports i -
qq3061280:
FATAL ERROR in native method: JDWP No transports i -
xiebo1983:
http://sqkoo.com/mysql-function ...
Date format -
java_xiaoyi:
...
[SQLServer]传入的表格格式数据流(TDS)远程过程调用(RPC)协议流不正确
myeclipse 整合 jsf+spring2.0+hibernate3.0 启动tomcat 报错如下:
2007-10-31 16:45:05 org.apache.catalina.core.ApplicationContext log
严重: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:82)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
... 47 more
Caused by: java.lang.SecurityException: class "com.qian.object.CAdmin$$EnhancerByCGLIB$$f9d41a38"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
... 53 more
2007-10-31 16:45:05 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /jsf threw load() exception
java.lang.SecurityException: class "com.qian.object.CAdmin$$EnhancerByCGLIB$$f9d41a38"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:127)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:82)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2007-10-31 16:45:06 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-80</init></init></init></init></init></init></init></init></init></init></init></init></init></init>
Google了下,也没找到相关答案,已经困扰2天了,请大哥们指点迷津.
评论
非常感谢
太感谢了~
嗯
好主意
myeclipse添的spring2.0时自动添加的包cglib-nodep-2.1_3.jar的问题.
将spring 2.0.4里的cglib-nodep-2.1_3.jar包覆盖掉myeclipse添加spring2.0时默认添加的包,并且把添加hibernate3.0时自动添加三个包asm.jar,asm-attrs.jar,cglib-2.1.3.jar 删除就可以了.
参考网址:http://hi.baidu.com/hateeyes/blog/item/741acbd47cb43403a08bb771.html
发表评论
-
jsf利用PhaseListener实现权限验证
2007-11-29 09:38 5345通过PhaseListener 可以在一个点上(JSF生命周期 ... -
javax.faces.FacesException: javax.crypto.BadPaddingException
2007-11-28 17:44 5369警告: executePhase(RESTORE_VIEW 1 ... -
java.lang.ClassNotFoundException: [Ljava.lang.String;
2007-11-27 16:08 7630使用jsf 1.2-b20-FCS 与 tomahawk-1. ... -
com.sun.faces.config.ConfigurationException: CONFIGURATION F
2007-11-27 10:04 12085com.sun.faces.config.Configurat ... -
jsf bean
2007-11-23 15:27 1443我在jsf的自建adminBean保存了用户登录时的id 那我 ... -
转贴:共享在项目中使用jsf的一些经验
2007-11-16 14:57 12361.异常处理问题:请为js ... -
jsf 使用(转贴)
2007-11-03 09:44 2013转自:http://bbs.hexiao.cn/rea ... -
jsf 资源束绑定 Can not find bundle for base name Messages
2007-11-02 14:48 7250报错: java.util.MissingResourceEx ... -
JSF+spring中文输入乱码问题解决方法
2007-11-01 15:22 2850在inputtext中输入中文,然后在输出,显示为乱码。 解决 ... -
配置 jsf+spring+hibernate 问题整理
2007-11-01 10:26 38431. org.apache.jasper.JasperExce ...
相关推荐
【JSF+Spring+Hibernate整合开发】 JSF (JavaServer Faces)、Spring 和 Hibernate 是 Java 开发中的三大核心技术,常用于构建企业级的 Web 应用程序。它们各自扮演着不同的角色,共同构建了一个强大的后端架构。 1...
### JSF + Hibernate + Spring 的整合实践 #### 一、技术背景与介绍 在现代Web开发领域中,Java Server Faces (JSF)、Hibernate以及Spring是三个非常重要的框架和技术。这三个技术结合使用可以构建出高性能、高...
【标题】"jsf+spring+hibernate示例,使用MyEclipse工具"涉及到的是一个集成开发环境MyEclipse中的Web应用项目,这个项目利用了JavaServer Faces(JSF)、Spring框架和Hibernate ORM技术来构建后端业务逻辑。JSF是...
【JSF+Spring+Hibernate集成概述】 JSF(JavaServer Faces)是一种基于MVC(Model-View-Controller)模式的开源框架,旨在简化Java Web应用程序的开发。它提供了丰富的组件库和事件处理机制,使开发者能更高效地...
本文将探讨如何集成JavaServer Faces (JSF), Spring框架和Hibernate ORM工具来构建一个高效、灵活的Web应用程序。JSF是一种用于构建用户界面的Java EE标准,Spring提供了强大的依赖注入和AOP功能,而Hibernate则是...
### JSF + Spring + Hibernate 集成配置详解 #### 一、概述 在现代企业级应用开发中,集成JSF(JavaServer Faces)、Spring框架与Hibernate是非常常见的做法。这样的组合能够充分发挥各技术栈的优势:JSF负责前端...
本分页程序是在myeclipse6.0.1下开发,物...myfaces1.1.5+hibernate3.1+spring实现大数据分页,并包括添加、修改和删除功能,添加修改和删除后均返回当前页面。数据库用的是mysql,上传时略去了jar包。sql.sql是sql语句
在本文中,我们将探讨如何配置一个集成JSF(JavaServer Faces)、Spring和Hibernate的Web应用程序。JSF是一种用于构建用户界面的MVC框架,Spring是一个全面的企业级应用框架,而Hibernate是ORM(对象关系映射)工具...
自己学习JSF, Spring, Hiebernate的 HelloWorld程序,开发环境MyEclipse,含有Tomahawk、RichFaces部分集成实例。具体包括登录、注册、树控件、日历等。可用作平时学习之用! 由于大小的限制,缺少的包请到相关...
### JSF + Hibernate + Spring 集成案例详解 #### 一、项目概述与环境搭建 本案例旨在通过集成JSF、Spring 和 Hibernate 框架来构建一个具备登录、浏览、注册、修改、删除及退出功能的Web应用。通过这个示例,我们...
本文将详细介绍如何在MyEclipse7.0环境下整合Spring2.5、Hibernate3.2以及JSF(MyFaces),并提供详细的步骤。首先,确认开发环境:MyEclipse7.0、JDK1.6以及Tomcat6.0。 **1. 创建Web Project工程** 创建一个新的...
在本项目中,我们使用了JSF 1.2_04、Hibernate 3.2.2.ga和Spring 2.0.5这三个技术栈来构建一个基于Java的Web应用程序。这种组合通常被称为JEE(Java Enterprise Edition)的轻量级版本,允许开发者在不依赖完整的EJB...
### JSF基于EJB Hibernate Spring整合开发与项目 #### 一、JSF基础知识 ##### 1.1 了解JSF JavaServer Faces (JSF) 是一个用于构建基于Web的应用程序的标准Java EE技术。它提供了丰富的组件库以及一套声明式的...
myEclipse支持多种技术栈,包括但不限于JSP、Servlet、JSF、Struts、Spring、Hibernate等。它提供了代码提示、自动完成、调试工具、数据库连接和服务器管理等功能,大大提高了开发效率。 【Jboss】是一个开源的应用...
5. **框架支持**:对Struts、Spring、Hibernate等流行框架提供良好的集成和辅助开发。 **Java EE 5**(Java Platform, Enterprise Edition 5)是Java平台的一个版本,用于构建分布式、多层的企业级应用程序。Java ...
- Struts、Spring、Hibernate整合:MyEclipse内置了对这些流行框架的模板和配置支持,简化开发流程。 6. **调试与运行**: - 运行配置:设置Java应用程序或Web应用程序的运行配置,包括主类、VM参数等。 - 调试...
一个关于ssha最基础的集合的例子,还用到了json。这个小项目用到了struts,spring,hibernate,异步刷新(ajax),json等技术。如果你刚接触这几个框架,或是想尝试结合这几个框架,那这个项目对你来说很有用。
标题 "primefaces jsf spring3.2.4 hibernate4.2.7 maven整合" 涉及到的是一个基于Java技术栈的Web应用程序开发整合。以下是这些技术的详细说明: **PrimeFaces**:PrimeFaces是一个开源的用户界面组件库,专为Java...