[JBoss JIRA] (JBIDE-18294) In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18294?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-18294:
--------------------------------
Fix Version/s: 4.2.1.Final
> In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
> --------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18294
> URL: https://issues.jboss.org/browse/JBIDE-18294
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection, seam2
> Affects Versions: 4.2.0.CR1
> Reporter: Martin Malina
> Assignee: Snjezana Peco
> Priority: Minor
> Fix For: 4.2.1.Final
>
>
> This is a followup of JBIDE-17630 which contained two issues and one is still outstanding:
> When you search for runtimes and EAP 5.x (including seam) is found, by default the entry is collapsed and you can expand it to see the seam runtime included with the eap server.
> If you uncheck the eap server, the seam runtime beneath will still be checked. This can be confusing. I believe checking/unchecking the eap server should affect the seam runtime as well.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18083) Issues in the new "Edit server runtime environment" window
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18083?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-18083:
-------------------------------------
+1 to apply PR
> Issues in the new "Edit server runtime environment" window
> ----------------------------------------------------------
>
> Key: JBIDE-18083
> URL: https://issues.jboss.org/browse/JBIDE-18083
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta3
> Environment: Windows 7x6, Eclipse 64 bit version, java 1.7, Ubuntu 14.04, Eclipse 64 bit, Java 1.7
> Reporter: Wolfgang Knauf
> Assignee: Daniel Azarov
> Priority: Critical
> Labels: respin-b
> Fix For: 4.2.0.CR1
>
> Attachments: server_runtime.png
>
>
> See attached screenshot: there are three problems in the "Edit Server runtime environment" window.
> a) clicking the button "Environments" opens the "Execution Environments" preference window behind the current window, it cannot be focused
> b) same for the button "Installed JREs"
> c) the "Configuration base directory" is defaulted to "C:standalone". This does probably not make sense ;-). For WildFly7 server types, it is "standalone".
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18178) Forge Console throws exception when UP is kept pressed for some time
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18178?page=com.atlassian.jira.plugi... ]
Vineet Reynolds commented on JBIDE-18178:
-----------------------------------------
So, apparently this occurs on Linux, but on Windows the related bug JBIDE-18284 is seen.
> Forge Console throws exception when UP is kept pressed for some time
> --------------------------------------------------------------------
>
> Key: JBIDE-18178
> URL: https://issues.jboss.org/browse/JBIDE-18178
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Reporter: George Gastaldi
> Fix For: 4.2.x
>
>
> {code}
> java.lang.Throwable: Unimplemented command: CURSOR_UP
> at org.jboss.tools.aesh.core.internal.ansi.AbstractCommand.handle(AbstractCommand.java:18)
> at org.jboss.tools.aesh.core.internal.ansi.AbstractCommand.handle(AbstractCommand.java:22)
> at org.jboss.tools.aesh.core.internal.io.DocumentInputOutputHandler.handleCommand(DocumentInputOutputHandler.java:42)
> at org.jboss.tools.aesh.core.internal.io.CommandFilter.filterOutput(CommandFilter.java:50)
> at org.jboss.tools.aesh.core.internal.io.AeshOutputStream.write(AeshOutputStream.java:27)
> at java.io.PrintStream.write(PrintStream.java:480)
> at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
> at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
> at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
> at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
> at java.io.PrintStream.write(PrintStream.java:527)
> at java.io.PrintStream.print(PrintStream.java:669)
> at org.jboss.aesh.console.AeshConsoleBuffer.redrawMultipleLines(AeshConsoleBuffer.java:207)
> at org.jboss.aesh.console.AeshConsoleBuffer.drawLine(AeshConsoleBuffer.java:128)
> at org.jboss.aesh.console.AeshInputProcessor.getHistoryElement(AeshInputProcessor.java:420)
> at org.jboss.aesh.console.AeshInputProcessor.parseOperation(AeshInputProcessor.java:164)
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:615)
> at org.jboss.aesh.console.Console.execute(Console.java:605)
> at org.jboss.aesh.console.Console.access$700(Console.java:58)
> at org.jboss.aesh.console.Console$6.run(Console.java:508)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18295) Errors in project after import WildFly quickstarts
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18295?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-18295:
----------------------------------
Component/s: maven
server
> Errors in project after import WildFly quickstarts
> --------------------------------------------------
>
> Key: JBIDE-18295
> URL: https://issues.jboss.org/browse/JBIDE-18295
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven, server
> Affects Versions: 4.2.0.Beta3
> Reporter: Xavier Coulon
> Priority: Critical
>
> After importing all modules from https://github.com/wildfly/quickstart into JBDS 8.0.0.CR1b, a few projects have build errors, such as:
> {code}
> Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.1:copy (execution: default, phase: process-sources)
> {code}
> or
> {code}
> Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (execution: default, phase: package)
> {code}
> and errors because of XML validation, such as:
> {code}
> Referenced file contains errors (jar:file:/Users/xcoulon/DevToolz/ide/jbossdevstudio800CR1b/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR1-v20140905-1648-B75.jar!/schema/xsd/jboss-ejb3-2_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations
by Andrei Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14305?page=com.atlassian.jira.plugi... ]
Andrei Ivanov edited comment on JBIDE-14305 at 9/9/14 11:13 AM:
----------------------------------------------------------------
When I remove the logging deps in pom.xml, I get a new exception :(
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.SimpleHash
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
After I install FreeMarker IDE it works, so I guess Hibernate Tools needs to declare a dependency for freemarker.
Actually, now I see from the 1st exception that freemarker is present, but it just doesn't see the class {{freemarker.template.SimpleHash}} somehow. Very weird.
was (Author: andrei.ivanov):
When I remove the logging deps in pom.xml, I get a new exception :(
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.SimpleHash
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
After I install FreeMarker IDE it works, so I guess Hibernate Tools needs to declare a dependency for freemarker.
> Error popup when runing schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
> Key: JBIDE-14305
> URL: https://issues.jboss.org/browse/JBIDE-14305
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Reporter: labdoui labdoui
> Assignee: Koen Aers
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations
by Andrei Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14305?page=com.atlassian.jira.plugi... ]
Andrei Ivanov edited comment on JBIDE-14305 at 9/9/14 11:12 AM:
----------------------------------------------------------------
- Eclipse Luna (eclipse-jee-luna-R-win32-x86_64.zip)
- http://download.jboss.org/jbosstools/updates/staging/luna/jbosstools-4.2....
-- select just Hibernate Tools (eclipse-jee-luna-R-win32-x86_64.zip)
- create new workspace
- create new maven project
-- select 'Create a simple project'
-- after it's created, paste the project data from my comment in the {{pom.xml}}, but comment out the logging dependencies
-- update the Maven project configuration (select the project the project explorer and ALT + F5)
-- convert project to faceted form
-- enable the JPA facet (2.1)
--- click the 'further configuration required' link
--- select Hibernate (JPA 2.1) for Platform
--- select 'Disable Library Configuration' for Type in JPA implementation
--- select 'Add connection...'
--- create new connection (I use MySQL here)
--- select 'Discover annotated classes automatically'
--- (no persistence.xml manually created, just the Eclipse generated one)
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="JBIDE-14305">
</persistence-unit>
</persistence>
{code}
--- open the Hibernate configurations view
--- right click, select add new configuration
--- in the main tab, select JPA, Hibernate version 4.3, our project, the previously defined db connection and the 'JBIDE-14305' persistence unit, finish
--- expand the new hibernate config, expand database, the databases should be visible
--- in pom.xml enable the logging deps
--- clean/build project
--- rebuild the hibernate config
--- right click on the project, select 'Generate entities from tables' from JPA tools (select the hibernate config)
{noformat}
java.lang.ClassNotFoundException: org.apache.log4j.Priority cannot be found by org.jboss.tools.hibernate4_3_4.0.0.CR1-v20140905-2307-B72
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
at freemarker.log.Logger.getLogger(Logger.java:255)
at freemarker.ext.beans.BeanModel.<clinit>(BeanModel.java:98)
at freemarker.ext.beans.BeansWrapper.<init>(BeansWrapper.java:153)
at freemarker.template.DefaultObjectWrapper.<init>(DefaultObjectWrapper.java:68)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:110)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:97)
at freemarker.template.SimpleCollection.<init>(SimpleCollection.java:86)
at freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothing.java:71)
at freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at freemarker.ext.beans.BeansWrapper.class$(BeansWrapper.java:111)
at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:122)
at freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateModel.java:63)
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
caused by:
{noformat}
java.lang.NoClassDefFoundError: org/apache/log4j/Priority
at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
at freemarker.log.Logger.getLogger(Logger.java:255)
at freemarker.ext.beans.BeanModel.<clinit>(BeanModel.java:98)
at freemarker.ext.beans.BeansWrapper.<init>(BeansWrapper.java:153)
at freemarker.template.DefaultObjectWrapper.<init>(DefaultObjectWrapper.java:68)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:110)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:97)
at freemarker.template.SimpleCollection.<init>(SimpleCollection.java:86)
at freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothing.java:71)
at freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at freemarker.ext.beans.BeansWrapper.class$(BeansWrapper.java:111)
at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:122)
at freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateModel.java:63)
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority cannot be found by org.jboss.tools.hibernate4_3_4.0.0.CR1-v20140905-2307-B72
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 31 more
{noformat}
Seems the exception is now different.
was (Author: andrei.ivanov):
- Eclipse Luna (eclipse-jee-luna-R-win32-x86_64.zip)
- http://download.jboss.org/jbosstools/updates/staging/luna/jbosstools-4.2....
-- select just Hibernate Tools (eclipse-jee-luna-R-win32-x86_64.zip)
- create new workspace
- create new maven project
-- select 'Create a simple project'
-- after it's created, paste the project data from my comment in the {{pom.xml}}, but comment out the logging dependencies
-- update the Maven project configuration (select the project the project explorer and ALT + F5)
-- convert project to faceted form
-- enable the JPA facet (2.1)
--- click the 'further configuration required' link
--- select Hibernate (JPA 2.1) for Platform
--- select 'Disable Library Configuration' for Type in JPA implementation
--- select 'Add connection...'
--- create new connection (I use MySQL here)
--- select 'Discover annotated classes automatically'
--- (no persistence.xml manually created, just the Eclipse generated one)
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="JBIDE-14305">
</persistence-unit>
</persistence>
{code}
--- open the Hibernate configurations view
--- right click, select add new configuration
--- in the main tab, select JPA, Hibernate version 4.3, our project, the previously defined db connection and the 'JBIDE-14305' persistence unit, finish
--- expand the new hibernate config, expand database, the databases should be visible
--- in pom.xml enable the logging deps
--- clean/build project
--- rebuild the hibernate config
--- right click on the project, select 'Generate entities from tables' from JPA tools (select the hibernate config)
{noformat}
java.lang.ClassNotFoundException: org.apache.log4j.Priority cannot be found by org.jboss.tools.hibernate4_3_4.0.0.CR1-v20140905-2307-B72
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
at freemarker.log.Logger.getLogger(Logger.java:255)
at freemarker.ext.beans.BeanModel.<clinit>(BeanModel.java:98)
at freemarker.ext.beans.BeansWrapper.<init>(BeansWrapper.java:153)
at freemarker.template.DefaultObjectWrapper.<init>(DefaultObjectWrapper.java:68)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:110)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:97)
at freemarker.template.SimpleCollection.<init>(SimpleCollection.java:86)
at freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothing.java:71)
at freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at freemarker.ext.beans.BeansWrapper.class$(BeansWrapper.java:111)
at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:122)
at freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateModel.java:63)
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
Seems the exception is now different.
> Error popup when runing schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
> Key: JBIDE-14305
> URL: https://issues.jboss.org/browse/JBIDE-14305
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Reporter: labdoui labdoui
> Assignee: Koen Aers
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18294) In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
by Snjezana Peco (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18294?page=com.atlassian.jira.plugi... ]
Snjezana Peco reassigned JBIDE-18294:
-------------------------------------
Assignee: Snjezana Peco
> In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
> --------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-18294
> URL: https://issues.jboss.org/browse/JBIDE-18294
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection, seam2
> Affects Versions: 4.2.0.CR1
> Reporter: Martin Malina
> Assignee: Snjezana Peco
> Priority: Minor
>
> This is a followup of JBIDE-17630 which contained two issues and one is still outstanding:
> When you search for runtimes and EAP 5.x (including seam) is found, by default the entry is collapsed and you can expand it to see the seam runtime included with the eap server.
> If you uncheck the eap server, the seam runtime beneath will still be checked. This can be confusing. I believe checking/unchecking the eap server should affect the seam runtime as well.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18295) Errors in project after import WildFly quickstarts
by Xavier Coulon (JIRA)
Xavier Coulon created JBIDE-18295:
-------------------------------------
Summary: Errors in project after import WildFly quickstarts
Key: JBIDE-18295
URL: https://issues.jboss.org/browse/JBIDE-18295
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 4.2.0.Beta3
Reporter: Xavier Coulon
Priority: Critical
After importing all modules from https://github.com/wildfly/quickstart into JBDS 8.0.0.CR1b, a few projects have build errors, such as:
{code}
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.1:copy (execution: default, phase: process-sources)
{code}
or
{code}
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (execution: default, phase: package)
{code}
and errors because of XML validation, such as:
{code}
Referenced file contains errors (jar:file:/Users/xcoulon/DevToolz/ide/jbossdevstudio800CR1b/studio/plugins/org.jboss.tools.as.catalog_3.0.0.CR1-v20140905-1648-B75.jar!/schema/xsd/jboss-ejb3-2_0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months