[jboss-jira] [JBoss JIRA] (DROOLS-472) Drools Eclipse plugin can't recognize third party classes

Jinghai Rao (JIRA) issues at jboss.org
Fri Apr 25 13:36:33 EDT 2014


Jinghai Rao created DROOLS-472:
----------------------------------

             Summary: Drools Eclipse plugin can't recognize third party classes
                 Key: DROOLS-472
                 URL: https://issues.jboss.org/browse/DROOLS-472
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: * OS: Mac OS X 10.9.2
* Eclipse Kepler    
* Drool Eclipse Plugin - JBoss Drools Core 6.0.1Final. (I don't have problem with Drools Core 5.6.0Final)   
* Java SE 1.7    
* Drools Runtime 6.0.1   
            Reporter: Jinghai Rao
            Assignee: Mark Proctor


Whenever I use classes from any third party jar files (not in JRE System Library and Drools Library), I got error messages in Eclipse IDE. 

At the place where I import the class, the error message is "Only a type can be imported. ... resolves to a package". 

At the place where I use the class, the error message is "... cannot be resolved to a type".   

However, I have included the jar file in classpath. The project can also be executed successfully even with the error message in IDE.   

Below is my development environment:     
* OS: Mac OS X 10.9.2
* Eclipse Kepler    
* Drool Eclipse Plugin - JBoss Drools Core 6.0.1Final. (I don't have problem with Drools Core 5.6.0Final)   
* Java SE 1.7    
* Drools Runtime 6.0.1   

!https://lh5.googleusercontent.com/-gltHnzUIUg4/U1qbEzVd_LI/AAAAAAAAEYw/mKxE2jv-VVc/w1796-h1168-no/Screen+Shot+2014-04-25+at+10.20.36+AM.png!

--
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


More information about the jboss-jira mailing list