facebook

create web application for WebSphere

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #226800 Reply

    I’m having trouble following the very basis web project development samples. I disabled JBoss3 and enabled WebSphere 5.1. (It doesn’t really matter, it won’t work even after I swithed back). Then I created a web project HelloWorld with all the default settings. But I only see the src/ directory. Not the other WEB-INF/ and META-INF/ directory. Does anyone know why?

    Regards

    Mike

    #226834 Reply

    Riyad Kalla
    Member

    Mike,
    What kind of project is this? If you navigate to Project Properties > MyEclipse-WEb settings, what do you have entered for the two text boxes?

    #226849 Reply

    I created a J2EE->Web Project. MyEClipse-Web settings showed the follows
    Web-root WebRoot
    Web Contect-root /HelloWorld
    They seemed innocent enough. So I tried to add the WebRoot myself under Java Build Path/Source tab, click on “Add Foulder” then selected the WebRoot, then I got this error
    Cannot nest output folder ‘HelloWorld/WebRoot/WEB-INF/classes’ inside ‘HelloWorld/WebRoot’. I think that’s the root of our problem. But I don’t understand why.

    #226850 Reply

    Riyad Kalla
    Member

    Yes it is, your webroot is not intended to be a source directory, a typical project layout looks like this: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#111

    #226888 Reply

    Riyad Kalla
    Member

    From PM

    I’m a paid subscribler. Does that give me any other support options? We’ve already paid for 8 licenses and plan for a lot more. But I can’t seem to start a web project. I’m o.k. NOT to add web root into src/, but my problem really is that I’m NOT seeing any content in webroot in my Package view. This prevents me from developing a web project. Could you help.

    Answer
    Please tell me what version of Eclipse (Help > About) and MyEclipse (Window > Preferences > MyEclipse) you are using. Also check your log file (<workspace dir>\.metadata\.log) for execptions that might shed some light on what is going on with this setup.

    #227008 Reply

    I’m using Eclipse 3.0.1, and myEclipse 3.8.4, Build id: 200501171200-3.8.4. I’m trying to follow the instructions from http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.html
    and there is a picture of how the folders should look like after a web project is created under MyEclipse perspective. Mine looked completely different, the only thing I see is the src/ directory. Could you try this with the some configuration?

    Regards

    Mike

    #227010 Reply

    Riyad Kalla
    Member

    Mike,
    Try this:
    1) File > Switch Workspace > C:\TempWorkspace (hit Enter, let E restart)
    2) File > New > Project > J2EE > Web Project > “TestWeb” > Finish

    How does it look?

    #227117 Reply

    Yes. This has worked. Is there a way to go back the original workspace? I have a lot of projects.

    Regards

    Michael

    #227119 Reply

    Riyad Kalla
    Member

    Sure, File > Switch Workspace > Point at your old dir (Probably something like: <eclipse dir>\workspace).

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: create web application for WebSphere

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