- This topic has 5 replies, 3 voices, and was last updated 20 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
cmcbrienMemberI just upgraded to 2.7GA by uninstalling RC2 and doing a clean install of GA.
Now when I right-click on my web project select properties and MyEclipse-Struts, it shows a red X and the message “Invalid Base Package Specified”. In the edit field for Base Package there is “/Web Root”, which is also what is shown in the field Web-root Folder.
When I try to click on another property page I get a dialog that says “The currently displayed page contains invalid values”. I have to press cancel on the properties dialog to get out.
When I type the name of a java package into the Base Package field, it is happy, and the error goes away.
This looks like something might become broken when installing GA over existing web projects.
Riyad KallaMembercmcbrein,
Thank you for reporting this, we will look into it ASAP; however, we haven’t experienced this internally while updating our builds.
leemariMemberHave you found a solution to this, I am getting exactly the same problem with 3.8.1.
Riyad KallaMemberleemari,
What is your MyEclipse Build ID (Window > Prefs > MyEclipse) and your Eclipse Build ID (Help > About)?Also please tell me the values you have under your MyEclipse-Web and MyEclipse-Struts property pages so I can see if I can reproduce this locally.
leemariMemberMyEclipse Build ID : 200408201200-3.8.1+QF20040825
Eclipse Build ID : 200406251208Values you have under your MyEclipse-Web :
Web-root folder = /WebRoot
Web context root = /my top level project folderMyEclipse-Struts property pages :
Web-root folder : /WebRoot
Struts configuration path : See web.xml
Struts Version : Jakarta struts 1.1
Servlet : action
Action pattern : *.do
Base Package : /WebRoot
Riyad KallaMemberleemari,
Two settings that I see are incorrect (not your fault, we should be more clear what they are):1) Web context root = this is the path in your app server that your application will be deployed to, for example to have your app deployed to http://localhost:8080/myapp, you would set this value to “/myapp”
2) Base package = this is the base Java package for generated struts classes to go into, this should be something like “com.yourcompany.struts” -
AuthorPosts