[
https://issues.jboss.org/browse/JBIDE-8993?page=com.atlassian.jira.plugin...
]
Ion Ho commented on JBIDE-8993:
-------------------------------
Hi, having this problem with Eclipse 4.2
Unable to run DroolTest.java because of missing
org.eclipse.jdt.core*.jar in project classpath
----------------------------------------------------------------------------------------------
Key: JBIDE-8993
URL:
https://issues.jboss.org/browse/JBIDE-8993
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.3.0.M1
Environment: Linux 32bit, Sun JDK 1.6_25,
jbosstools-3.3.0.M1a.aggregate-Update-2011-05-11_15-56-28-H2359
Reporter: Vlado Pakan
Assignee: Kris Verlaenen
Priority: Critical
Fix For: 3.3.0.M3
When creating new Drools Runtime from Drools plugin bundled to JBT
org.eclipse.jdt.core*.jar file is not included in this runtime and therefore when running
DroolTest.java this error is displayed in console:
org.drools.RuntimeDroolsException: Unable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:277)
at
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:262)
at
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:175)
at
org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:153)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:218)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:146)
at
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
at com.sample.DroolsTest.readKnowledgeBase(DroolsTest.java:39)
at com.sample.DroolsTest.main(DroolsTest.java:23)
Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:93)
at
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:54)
at
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:273)
... 9 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira