facebook

import com.titan.customer cannot be resolved

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #264089 Reply

    jadeite1000
    Member

    Hi:

    I am currently using MyEclipse 5.1, Weblogic 8.1. I am trying to debug my jsp in MyEclipse.
    My Eclipse Application is called “Ex07Weblogic81”. It has a web module and an ejb module.
    The ejb module is called “Ex071Weblogic81EJB” and the web module is called “Ex071Weblogic81Web” In myEclipse 5.1 inside the web module I get the following errors:

    The import com.titan.customer cannot be resolved.

    For the following code:
    <%@ page import=”com.titan.customer.*,com.titan.customer.Name” %>

    How can I make it so that import can be resolve in the JSP pages in the web module
    Ex071Weblogic81Web?

    I can deploy the application with no problem but I cannot debug the jsp files. I started weblogic using MyEclipse. I added a weblogic.xml file under Ex071Weblogic81Web\WebRoot\WEB-INF:

    <!DOCTYPE weblogic-web-app PUBLIC “-//BEA Systems, Inc.//DTD Web Application 8.1//EN” “http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd”&gt;
    <weblogic-web-app>
    <description>WebLogic Descriptor</description>

    <jsp-descriptor>
    <jsp-param>
    <param-name>verbose</param-name>
    <param-value>TRUE</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>pageCheckSeconds</param-name>
    <param-value>1</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>printNulls</param-name>
    <param-value>false</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>keepgenerated</param-name>
    <param-value>true</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>workingDir</param-name>
    <param-value>mytestapp</param-value>
    </jsp-param>
    </jsp-descriptor>
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>

    I placed a breakpoint in the jsp code such as the following:
    <%!
    final String title = “Client_71 Example Showing Customer/CreditCard Relationship”;
    %>

    But it doesn’t step into it.

    Yours,

    Desperate

    #264150

    Riyad Kalla
    Member

    Desperate,
    Which project is contributing the com.titan.customer package?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: import com.titan.customer cannot be resolved

You must be logged in to post in the forum log in