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