- This topic has 4 replies, 3 voices, and was last updated 20 years ago by jdurrant.
-
AuthorPosts
-
jdurrantMemberHi,
I’m new to MyEclipse so if I’m postoing in the wrong please – sorry!I’m trying to deploy to Tomcat 4, but I find some of the JAR in WEB-INF/lib are deployed, and some are not. (I know they are in the project, as everything complied OK).
Could some please let me know how to do this without using “copy&paste”.
Many thanks!
Scott AndersonParticipant(I know they are in the project, as everything complied OK).
Actually, it implies that the jars are somewhere on the classpath, not that they’re in WEB-INF/lib. I think what you need to know is explained in our Web Development Quickstart that is contained in our Documentation section, here: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html
jdurrantMemberThanks for your reply Scott.
Unfortunately, I can’t find the relevant article in the link you provided. I’ve also re-read my original post; you did well to make any sense of it! 😆
Let me elaborate:
The JAR files are not in the classpath – I have created a “User Library” (Window -> Preferences and the following in the popup: Java -> Build Path -> User Libraries and “New” on the menu. I then followed the wizard). This allows me to see the user library I created in the “Package Explorer”, and my code compiles. (Which it doesn’t if I remove this).
I have also changed the “Web Projects Deployment” (Window -> Preferences and the following in the popup: MyEclipse -> J2EE Project -> Web Project Deployment” so that “Always deploy external libraries and place in the ‘lib’ directory when deploying” is selected.
However, the problem remains, that when I deploy to Tomcat, the JARS in the “User Library” do not get deployed to the WEB-INF/lib directory.
Help!
Riyad KallaMemberJames,
The setting you configured is for external JAR files,not User Libraries. Deployed of User Libraries won’t be supported until 3.8.3, which is in beta testing now; so hang tight for another couple of weeks and then you’ll be able to do what you are trying to do right now and it will just magically work 😉
jdurrantMemberThanks Riyad.
I’ve moved the JARS from my User Library, and instead included them as externals JARS. Everything now is now as it should be!
Thanks again for your help. 😀
-
AuthorPosts