- This topic has 8 replies, 2 voices, and was last updated 19 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
[email protected]MemberI’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
Riyad KallaMemberMike,
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?
[email protected]MemberI 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.
Riyad KallaMemberYes 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
Riyad KallaMemberFrom 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.
[email protected]MemberI’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
Riyad KallaMemberMike,
Try this:
1) File > Switch Workspace > C:\TempWorkspace (hit Enter, let E restart)
2) File > New > Project > J2EE > Web Project > “TestWeb” > FinishHow does it look?
[email protected]MemberYes. This has worked. Is there a way to go back the original workspace? I have a lot of projects.
Regards
Michael
Riyad KallaMemberSure, File > Switch Workspace > Point at your old dir (Probably something like: <eclipse dir>\workspace).
-
AuthorPosts