- 浏览: 1283 次
- 性别:
- 来自: 兰州
最近访客 更多访客>>
文章分类
最新评论
-
yfzsj:
我在论坛中找到该方法,
二、Java 1.6启动Jboss ...
seam新建工程成功,但是在启动JBOSS的时候,发现部署失败,为什么呢?
seam新建工程成功,但是在启动JBOSS的时候,发现部署失败,为什么呢?
如题,相关失败日志如下
v
D:\program\seam\jboss-seam-2.0.0.GA>seam generate-entities
Buildfile: D:\program\seam\jboss-seam-2.0.0.GA\seam-gen\build.xml
init:
init-properties:
[echo] D:/program/JFIRE/jboss-4.2.0.GA
validate-workspace:
validate-project:
generate-entities:
[echo] Reverse engineering database using JDBC driver lib/MySQL-Driver.jar
[echo] project=D:/work/seam/icetest
[echo] model=org.jboss.ice.entity
[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engi
neering)
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.Environment <clinit>
[hibernate] 信息: Hibernate 3.2.5
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.Environment <clinit>
[hibernate] 信息: hibernate.properties not found
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.Environment buildBytecodeProvid
er
[hibernate] 信息: Bytecode provider name : cglib
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.Environment <clinit>
[hibernate] 信息: using JDK 1.4 java.sql.Timestamp handling
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.reveng.OverrideRepository addFi
le
[hibernate] 信息: Override file: D:\work\seam\icetest\resources\seam-gen.reveng.
xml
[hibernate] 2008-2-26 16:27:26 org.hibernate.connection.DriverManagerConnectionP
rovider configure
[hibernate] 信息: Using Hibernate built-in connection pool (not for production u
se!)
[hibernate] 2008-2-26 16:27:26 org.hibernate.connection.DriverManagerConnectionP
rovider configure
[hibernate] 信息: Hibernate connection pool size: 20
[hibernate] 2008-2-26 16:27:26 org.hibernate.connection.DriverManagerConnectionP
rovider configure
[hibernate] 信息: autocommit mode: false
[hibernate] 2008-2-26 16:27:26 org.hibernate.connection.DriverManagerConnectionP
rovider configure
[hibernate] 信息: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://local
host:3306/seam
[hibernate] 2008-2-26 16:27:26 org.hibernate.connection.DriverManagerConnectionP
rovider configure
[hibernate] 信息: connection properties: {user=root, password=****}
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: RDBMS: MySQL, version: 6.0.3-alpha-community
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-ja
va-3.2.0-alpha ( $Date: 2004/12/13 22:22:04 $, $Revision: 1.27.4.35.2.9 $ )
[hibernate] 2008-2-26 16:27:26 org.hibernate.dialect.Dialect <init>
[hibernate] 信息: Using dialect: org.hibernate.dialect.MySQLDialect
[hibernate] 2008-2-26 16:27:26 org.hibernate.transaction.TransactionFactoryFacto
ry buildTransactionFactory
[hibernate] 信息: Using default transaction strategy (direct JDBC transactions)
[hibernate] 2008-2-26 16:27:26 org.hibernate.transaction.TransactionManagerLooku
pFactory getTransactionManagerLookup
[hibernate] 信息: No TransactionManagerLookup configured (in JTA environment, us
e of read-write or transactional second-level cache is not recommended)
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Automatic flush during beforeCompletion(): disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Automatic session close at end of transaction: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: JDBC batch size: 15
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: JDBC batch updates for versioned data: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Scrollable result sets: enabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: JDBC3 getGeneratedKeys(): enabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Connection release mode: auto
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Default catalog: seam
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Maximum outer join fetch depth: 2
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Default batch fetch size: 1
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Generate SQL with comments: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Order SQL updates by primary key: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Order SQL inserts for batching: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory createQueryTran
slatorFactory
[hibernate] 信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFact
ory
[hibernate] 2008-2-26 16:27:26 org.hibernate.hql.ast.ASTQueryTranslatorFactory <
init>
[hibernate] 信息: Using ASTQueryTranslatorFactory
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Query language substitutions: {}
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: JPA-QL strict compliance: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Second-level cache: enabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Query cache: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory createCacheProv
ider
[hibernate] 信息: Cache provider: org.hibernate.cache.HashtableCacheProvider
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Optimize cache for minimal puts: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Structured second-level cache entries: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Statistics: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Deleted entity synthetic identifier rollback: disabled
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Default entity-mode: pojo
[hibernate] 2008-2-26 16:27:26 org.hibernate.cfg.SettingsFactory buildSettings
[hibernate] 信息: Named query checking : enabled
[hibernate] 2008-2-26 16:27:27 org.hibernate.connection.DriverManagerConnectionP
rovider close
[hibernate] 信息: cleaning up connection pool: jdbc:mysql://localhost:3306/seam
[hibernate] 2008-2-26 16:27:27 org.hibernate.tool.Version <clinit>
[hibernate] 信息: Hibernate Tools 3.2.0.b10
2008-2-26 16:27:28 org.hibernate.connection.DriverManagerConnectionProvider clos
e
信息: cleaning up connection pool: jdbc:mysql://localhost:3306/seam
[hibernate] 2. task: generic exportertemplate: view/list.xhtml.ftl
[hibernate] 3. task: generic exportertemplate: view/view.xhtml.ftl
[hibernate] 4. task: generic exportertemplate: view/view.page.xml.ftl
[hibernate] 5. task: generic exportertemplate: view/edit.xhtml.ftl
[hibernate] 6. task: generic exportertemplate: view/edit.page.xml.ftl
[hibernate] 7. task: generic exportertemplate: src/EntityList.java.ftl
[hibernate] 8. task: generic exportertemplate: view/list.page.xml.ftl
[hibernate] 9. task: generic exportertemplate: src/EntityHome.java.ftl
[hibernate] 10. task: generic exportertemplate: view/layout/menu.xhtml.ftl
[javaformatter] Java formatting of 4 files completed. Skipped 0 file(s).
[echo] Type 'seam restart' and go to http://localhost:8080/icetest
BUILD SUCCESSFUL
Total time: 4 seconds
2008-02-26 16:38:45,784 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@14ef239, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@39b27b{ url=null ,addedOrder=0}
2008-02-26 16:38:45,800 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/icetest]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NoClassDefFoundError: com/sun/facelets/compiler/Compiler
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:852)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:502)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
2008-02-26 16:38:45,800 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@14ef239, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@16068c9{ url=null ,addedOrder=0}
2008-02-26 16:38:45,800 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@14ef239, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@f77c8e{ url=null ,addedOrder=0}
2008-02-26 16:38:45,800 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@14ef239, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@128cad{ url=null ,addedOrder=0}
2008-02-26 16:38:45,800 INFO [javax.servlet.ServletContextListener] Welcome to Seam 2.0.0.GA
而且在Myeclipse中,发现java并没有被编译成class,奇怪的问题.
评论
1 楼
yfzsj
2008-02-27
我在论坛中找到该方法,
二、Java 1.6启动Jboss Server失败
该bug同样会影响到SeamTest
1) 现象\异常:
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
... 5 more
2) 解决:
下载 Signature.java, 编译後覆盖到项目lib/ 二、Java 1.6启动Jboss Server失败
该bug同样会影响到SeamTest
1) 现象\异常:
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
... 5 more
2) 解决:
下载 Signature.java, 编译後覆盖到项目lib/ jboss-embedded-all.jar中的org/jboss/metadata/spi/signature/下同名文件,jboss-seam2.0beta1/lib/jboss-embedded-all.jar也要用此文件替换
中的org/jboss/metadata/spi/signature/下同名文件,jboss-seam2.0beta1/lib/jboss-embedded-all.jar也要用此文件替换
但是我的lib下面并没有jboss-embedded-all.jar这个文件,而是jboss-embedded-api.jar,该怎么解决呢?
二、Java 1.6启动Jboss Server失败
该bug同样会影响到SeamTest
1) 现象\异常:
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
... 5 more
2) 解决:
下载 Signature.java, 编译後覆盖到项目lib/ 二、Java 1.6启动Jboss Server失败
该bug同样会影响到SeamTest
1) 现象\异常:
*** CONTEXTS IN ERROR: Name -> Error
DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
... 5 more
2) 解决:
下载 Signature.java, 编译後覆盖到项目lib/ jboss-embedded-all.jar中的org/jboss/metadata/spi/signature/下同名文件,jboss-seam2.0beta1/lib/jboss-embedded-all.jar也要用此文件替换
中的org/jboss/metadata/spi/signature/下同名文件,jboss-seam2.0beta1/lib/jboss-embedded-all.jar也要用此文件替换
但是我的lib下面并没有jboss-embedded-all.jar这个文件,而是jboss-embedded-api.jar,该怎么解决呢?
相关推荐
通过上述步骤,你将成功创建一个基础的JBoss Seam工程。值得注意的是,尽管Seam项目中可能包含大量XML配置,但大部分是标准的Java EE配置,一旦设置好,就不需要频繁修改。Seam-gen工具极大地简化了配置过程,使得...
JBOSS_SEAM配置
JBoss Seam JBoss Seam JBoss Seam
这是中文手册,Seam为持久化集成了JPA和Hibernate 3,为轻量化的异步性集成了EJB Timer Service和Quartz,为工作流集成了jBPM,为业务规则集成了JBoss规则,为电子邮件集成了Meldware Mail,为完整的文本搜索集成了...
【JBoss教程及深入浅出JBoss+Seam】是一个针对企业级Java应用服务器JBoss的深度学习资源,其中包含了两个主要部分:JBoss教程和对JBoss与Seam框架结合使用的详细介绍。这两个主题都是Java开发人员在部署和管理企业...
1. **在JBoss AS上运行示例**:首先需要安装配置JBoss AS服务器,然后导入Seam项目到服务器中进行部署。 2. **在Tomcat服务器上运行示例**:Tomcat作为轻量级的应用服务器,可以快速部署简单的Seam应用,便于学习和...
**JBoss Seam组件中文手册** **一、Seam框架概述** Seam是一个开源的企业级Java框架,由JBoss公司开发,旨在简化Java EE应用程序的开发。它将多种技术如JavaServer Faces (JSF),Java Persistence API (JPA),EJB 3...
标题中的“Jboss seam3 实战”表明,本文将重点介绍JBoss Seam框架的第三个版本的实际应用。JBoss Seam是一个开源的Java EE框架,它通过依赖注入和会话模型,简化了基于Java EE的企业级应用开发。Seam框架为开发者...
- **使用JSF 1.2 RI**:提供了如何在JBoss平台上使用JSF 1.2参考实现来部署和运行Seam应用的具体步骤。 #### 三、结语 通过以上内容的学习,读者可以全面了解JBoss Seam框架的核心功能和技术特点,掌握如何使用...
### 一、什么是JBoss Seam? JBoss Seam被定位为“企业Java应用程序框架”,它是专为企业级Java Web应用程序设计的框架,能够将Java EE和JSF(JavaServer Faces)紧密结合,提供一个统一且强大的开发平台。Seam被视...
在这个配置及项目部署文档中,我们将深入探讨如何配置JBoss环境以及如何将项目部署到这个环境中。 首先,确保你已经安装了Java Development Kit (JDK),这是JBoss运行的基础。配置`JAVA_HOME`环境变量指向JDK的安装...
JBoss Seam 是一个开源的企业级开发框架,它旨在简化Java EE应用的开发过程,特别是在Web和富互联网应用程序(Rich Internet Applications, RIA)领域。Seam 2.0是其重要的版本,提供了许多增强的功能和改进,为...
### JBoss Seam 2.01GA REF DOC #### 引言:JBoss Seam概览与功能介绍 JBoss Seam 是一个为简化企业级 Java 应用开发而设计的框架。它结合了 JavaServer Faces (JSF)、Java Persistence API (JPA) 和 Java ...
**JBoss Seam 中文文档集合概述** JBoss Seam 是一个开源的应用框架,它结合了JavaServer Faces (JSF)、Java Persistence API (JPA)、Enterprise JavaBeans (EJB) 3.0 和其他Java EE组件,旨在简化企业级开发。这个...
JBoss Seam被称为是“Java EE 5.0的一个轻量级的框架”,这个表述意味着Seam是建立在Java EE 5.0之上的一层,为开发者提供了一个更加统一且易于理解的编程模型。Seam的目标是简化企业级Web应用的开发,特别是对于...
Seam为 应 业务业业 义 种统 组 你的 用程序中所有的 定 了一 一的 件模型。 Seam组件可能是 态义 关关 态 有状 的,包含与几个定 良好的上下文中任何一个相 的状 , 包括长开间运行上 下文、持久化上下文、业务流程...
### 深入浅出JBoss Seam:强化与整合Java EE 5.0框架 #### 一、Seam概述及重要性 JBoss Seam是一个基于Java EE 5.0的轻量级框架,旨在简化企业级Web应用的开发。虽然Java EE 5.0已经是一个成熟的平台,包含了EJB ...
java jboss seam jboss-seam-selectitems
这段代码表示此组件在应用启动时需要依赖`org.jboss.seam.bpm.jbpm`。 #### @Install `@Install`注解用于控制组件是否自动安装以及安装顺序。例如: ```java @Install(false) public class NonInstalledComponent...