Joseph Hwang [http://community.jboss.org/people/aupres] created the discussion

"build path configuration on jboss 7.0.2"

To view the discussion, visit: http://community.jboss.org/message/640949#640949

--------------------------------------------------------------
My development environment is JBoss 7 and Eclipse Indigo.
I made ejb jar project. Jar project has EJB interface and EJB bean. Deployment 
was successful.
I also made jsp war project. And in java build path menu I set link with ejb3 
jar project i made on project tab.

But exception is thrown like below :

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 7 in the generated java file
Only a type can be imported. com.aaa.ejb3.IEJBHelloWorldPort resolves to a 
package

An error occurred at line: 17 in the jsp file: /display.jsp
IEJBHelloWorldPort cannot be resolved to a type
14: <% 
15: try {
16:     Context ctx = new InitialContext();
17:     IEJBHelloWorldPort hello = (IEJBHelloWorldPort) 
ctx.lookup("EJBHelloWorldBean/remote");
18:     String id = request.getParameter("id");

This process worked well in JBoss 5.1. I have no idea what is wrong. Is there 
another process to
configure build path link of ejb jar project with web project on eclipse indigo?

Pls, inform me.
Thanks in advance and Merry Christams  :)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/640949#640949]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to