For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 4 voices, and was last updated 21 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
nkleinMemberI checked out an existing Struts-based project from CVS, and was trying to figure out how to get MyEclipse to understand it as a Web-based project with Struts capabilities
Do I need to first “Create a New Web-based Project” and then “Add Struts Capabilities” and then perform “Checkout As” into an existing project, or is there a straightforward way to add these capabilities afterwards.
September 29, 2004 at 5:24 pm #216449
Riyad KallaMemberIf its a normal Java Project, you can right click, go down to MyEclipse then “Add Web Project Capabilities”, then after that, “Add Struts Capabiltiies” and you’re all set.
October 6, 2004 at 5:09 pm #217064
rnadellaMemberI have tried this with WorkBench 3.8.1 and everything looked fine. MyEclipse displayed the number for form beans and actions. When I click on struts-config.xml, I was prompted “Error has occured. Please check the log”. Can you specify where and what is the log. I tried searching in MyEclipse installation folder and eclipse workspace folder. No luck.
Thanks
rnOctober 6, 2004 at 5:26 pm #217066
rnadellaMemberMore Info:
I think Eclipse erroring out while creating outline view. I don’t see anything in this view. When switched to Resource perspective here is the error displayed in Outline View: “An error has occurred when creating this view”
To replicate the error, here is what I did in a fresh project:
1)Create a Java Project
2) Select MyEclipse->Add WebCapabilites
3) Created new folder with link to my JSP/WEB-INF stuff
4) Select MyEclipse->Add Struts Capabilites(without creating web.xml)
Now displays the number of form beans and Actions
5) Clicking on Struts-config.xml in WEB-INF directory complians with error.
6) No Outline View is displayed except for a vertical line in the Editor.Thanks
rnOctober 6, 2004 at 5:57 pm #217072
Riyad KallaMemberrn,
Can you upgrade to MyEclipse 3.8.2? I know that we found this bug late in the 3.8.1 release cycle and had to push it back to 3.8.2, hoping not many people would be effected by it.October 7, 2004 at 9:54 am #217144
MCI-GAMemberOk, upgraded to MyEclipse 3.8.2 (Eclipse 3.0, same as before). This time I am getting error dialog box: “unable to create part: “. And the editor is empty with error: “An error has occurred when creating this editor”.
rn
October 7, 2004 at 10:34 am #217150
Riyad KallaMemberThis is one of the most commonly reported problems and is usually caused by:
1) Corrupt configuration info
2) Corrupt workspace
3) Manually updated/replaced plugins that MyEclipse relies on (e.g. Draw2D, GEF)Try and shut down Eclipse, then restart it with the -clean argument in the command line. Did that fix it? If not, try and create a new work space, then a new demo Web Module App, did that fix it? If not, did you manually update any of the plugins in your Eclipse install? Try a fresh download/unzip of Eclipse 3.0.1 and use Help > Software Updates > Manage Configs to add the MyEclipse extension to that install, did it work fine?
October 7, 2004 at 12:20 pm #217165
MCI-GAMemberI guess something was corrupt. I reinstalled Eclipse 3.0 and MyEclipse 3.8.2 and it is working now. Thanks for the help
rn
October 7, 2004 at 12:26 pm #217166
Riyad KallaMemberThank you for following up.
-
AuthorPosts
