I'm trying to implement Tomee on my existing project that currently uses Tomcat 7. Tomee's website youtube video makes it deceptively simple to implement. Funny how they never show the mess created when the real world meets open source. In our case we always have existing projects, not a clean machine for demonstration. So now you know the back story.
So, I mucked up my tomcat 7 configuration in eclipse. I can set up Tomcat 7 in Eclipse' Preference>Servers. But, i'm unable to attach it to my project. Sisyphus had it easy compared to my feeble attempts to resurrect 7 in eclipse. I found this link: Eclipse me with a butter knife. The masochist in the message board did provide big help: just blow Tomcat configuration out.
Do this:
1. Close Eclipse
2. Navigate to {workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings
3. Delete the following two files:
a. org.eclipse.wst.server.core.prefs
b. org.eclipse.jst.server.tomcat.core.prefs
4. Restart Eclipse
Now, I can create my Tomcat 7 instance in Eclipse and my project can see it.
grrrr...
No comments:
Post a Comment