[JBoss Tools] - Please help me solve this problem i have with hibernate tools.Thanks
by Geo George
Geo George [https://community.jboss.org/people/geogeorge] created the discussion
"Please help me solve this problem i have with hibernate tools.Thanks"
To view the discussion, visit: https://community.jboss.org/message/743967#743967
--------------------------------------------------------------
Hello i'm trying to generate pojos and mapping files from my database but I get the following error(s) on eclipse rcp indigo 3.7.2 with hibernate tools 3.4.0.v20120611-2017-H93-Final plugin installed and hibernate 3.6.10 jars (i didn't use maven but they seem to be all) in my build path
SHORT VERSION :
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
MY jars from the project buildpath are ( in order if that matters):
hibernate-distribution-3.6.10.Final\hibernate3.jar
hibernate-distribution-3.6.10.Final\lib\required\antlr-2.7.6.jar
hibernate-distribution-3.6.10.Final\lib\required\commons-collections-3.1.jar
hibernate-distribution-3.6.10.Final\lib\required\dom4j-1.6.1.jar
hibernate-distribution-3.6.10.Final\lib\required\javassist-3.12.0.GA.jar
hibernate-distribution-3.6.10.Final\lib\required\jta-1.1.jar
hibernate-distribution-3.6.10.Final\lib\required\slf4j-api-1.6.1.jar
postgresql-9.0-802.jdbc3.jar
I noticed that hibernate tools plugin has a few older jars in its plugins folder BTW( slf4j for example being version 1.5.8).
Any other info i should provide?
NORMAL STACKTRACE
!ENTRY org.hibernate.eclipse.console 4 666 2012-06-25 04:23:55.946
!MESSAGE org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
!STACK 0
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.launchExporters(ConsoleExtension3_6.java:149)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:270)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6$3.execute(ConsoleExtension3_6.java:249)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.jboss.tools.hibernate3_6.HibernateExtension3_6.execute(HibernateExtension3_6.java:201)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.buildConfiguration(ConsoleExtension3_6.java:239)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.runExporters(ConsoleExtension3_6.java:169)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.launchExporters(ConsoleExtension3_6.java:126)
... 6 more
!SUBENTRY 1 org.hibernate.eclipse.console 4 666 2012-06-25 04:23:55.946
!MESSAGE org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
!STACK 0
org.hibernate.console.HibernateConsoleRuntimeException: Received a NoClassDefFoundError, probably the console configuration classpath is incomplete or contains conflicting versions of the same class
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.launchExporters(ConsoleExtension3_6.java:149)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:270)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6$3.execute(ConsoleExtension3_6.java:249)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.jboss.tools.hibernate3_6.HibernateExtension3_6.execute(HibernateExtension3_6.java:201)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.buildConfiguration(ConsoleExtension3_6.java:239)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.runExporters(ConsoleExtension3_6.java:169)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.launchExporters(ConsoleExtension3_6.java:126)
... 6 more
!SUBENTRY 1 org.hibernate.eclipse.console 4 666 2012-06-25 04:23:55.946
!MESSAGE java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.reveng.OverrideRepository
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6$3.execute(ConsoleExtension3_6.java:249)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.jboss.tools.hibernate3_6.HibernateExtension3_6.execute(HibernateExtension3_6.java:201)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.buildConfiguration(ConsoleExtension3_6.java:239)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.runExporters(ConsoleExtension3_6.java:169)
at org.jboss.tools.hibernate3_6.console.ConsoleExtension3_6.launchExporters(ConsoleExtension3_6.java:126)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:270)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/743967#743967]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss Tools] - [m2e-wro4j] Anyone Have A Example Project?
by Lee Theobald
Lee Theobald [https://community.jboss.org/people/Leesy] created the discussion
"[m2e-wro4j] Anyone Have A Example Project?"
To view the discussion, visit: https://community.jboss.org/message/743943#743943
--------------------------------------------------------------
HI all,
I've been trying to get m2e-wro4j working this morning but I'm not having much luck. Does anyone have an example project with it working so that I can try it in my version of Eclipse. I'm wondering if I'm missing a prerequisite.
I've looked at the blog bost found https://community.jboss.org/community/tools/blog/2012/01/17/css-and-js-mi... here but it's not helping much. I believe m2e-wro4j is installed correctly as I do get the option to add a wro4j plugin when I hit CTRL + Space in my POM. But try as I might, my files never get combined into the resources I am expecting. I get a m2e-wtp folder in my target directory but it only contains a META-INF folder.
Can anyone think of anything I might have missed? Here's a snapshot of my POM setup.
<plugin>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-maven-plugin</artifactId>
<version>${version.wro4j}</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
<destinationFolder>${project.build.directory}/${project.build.finalName}/includes/</destinationFolder>
<jsDestinationFolder>${project.build.directory}/${project.build.finalName}/includes/js/</jsDestinationFolder>
<cssDestinationFolder>${project.build.directory}/${project.build.finalName}/includes/css/</cssDestinationFolder>
</configuration>
</plugin>
Wro4j.xml in my WEB-INF looks like:
<?xml version="1.0" encoding="UTF-8"?>
<groups xmlns="http://www.isdc.ro/wro">
<!-- Main application styles -->
<group name="style">
<css>/includes/css/appstoolbar.css</css>
<css>/includes/less/oomixins.less</css>
<css>/includes/less/variables.less</css>
<css>/includes/less/base.less</css>
<css>/includes/less/ie6.less</css>
<css>/includes/less/ie7.less</css>
</group>
<group name="scripts">
<js>/includes/js/common.js</js>
</group>
</groups>
Any help will be greatly appreciated. For now I'll stick to manually running the wro4j maven goal :(
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/743943#743943]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Ho to install jBPM in an Existing JBoss AS
by Laura delli Paoli
Laura delli Paoli [https://community.jboss.org/people/lauradp] created the discussion
"Ho to install jBPM in an Existing JBoss AS"
To view the discussion, visit: https://community.jboss.org/message/743705#743705
--------------------------------------------------------------
Hello everybody, I'm starting using JBpm, but when I go to http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console I get the following error:
The requested resource (/jbpm-console) is not available.
I need to use an existing istance of JBoss AS 7 and I started the AS with the attaccched file configuration and the server starts without any error:
15:16:00,314 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
15:16:00,652 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
15:16:00,715 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
15:16:01,828 INFO [org.xnio] XNIO Version 3.0.3.GA
15:16:01,828 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
15:16:01,842 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
15:16:01,850 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
15:16:01,890 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
15:16:01,900 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
15:16:01,908 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
15:16:01,909 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
15:16:01,915 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
15:16:01,955 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
15:16:02,021 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
15:16:02,042 INFO [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
15:16:02,066 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]
15:16:02,122 INFO [org.jboss.as.connector] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
15:16:02,266 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:16:02,268 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
15:16:02,664 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory C:\eseguibili\jboss-as-7.1.1\standalone\deployments
15:16:02,722 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
15:16:02,723 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on localhost/127.0.0.1:4447
15:16:02,744 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http-localhost-127.0.0.1-8080
15:16:02,886 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
15:16:02,917 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 http://127.0.0.1:9990
15:16:02,918 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 2911ms - Started 128 of 202 services (73 services are passive or on-demand)
Can anyone help me?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/743705#743705]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months