Error Could Not Find Or Load Main Class Tomcat
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about could not find or load main class org.apache.catalina.startup.bootstrap tomcat 7 hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges error could not find or load main class eclipse Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. error could not find or load main class jar Join them; it only takes a minute: Sign up Could not find or load main class in both Tomcat and Workspace up vote 1 down vote favorite I have been tasked with adding some new features in a error could not find or load main class minecraft project I worked on a while back. It's been given some new features since I last worked on it, and the development environment has changed. I'm having a lot of troubles bringing my environment up to date with all the dependencies and external folders. After solving a host of problems, when running the Tomcat 7 Server in Eclipse I was coming across a message: Error: Could not find or load main class Path\To\Workspace\.metadata\plugins\cont I tried deleted the Tomcat
Error Could Not Find Or Load Main Class Command Prompt
Server and then recreating it with the same settings, as well as deleting my .metadata folder from the workspace. Now I can't even get Tomcat to configure right: Error: Could not find or load main class Files\ApacheSoftwareFoundation\apache-tomcat-7.0.26. Why isn't this working? It worked before I added a couple of needed subdirectories but I'm stumped now. eclipse tomcat struts metadata share|improve this question edited Apr 19 '14 at 8:25 Roman C 34.2k133559 asked Mar 12 '13 at 2:57 user1287523 48221025 1 Please (re-)read the FAQ and How to Ask for tips on writing good questions. There's almost no context here for anybody to help you. This is about equivalent to calling your car repair shop and telling them over the phone that your "check engine" light is on and expecting them to tell you what's wrong without seeing the car. –Jim Garrison Mar 12 '13 at 3:10 @JimGarrison it's either a simple fix with a simple and common mistake on my part or it's more complicated and no amount of context will get the answer. I'm hoping it's the former but if not I don't expect a resolution through SO. –user1287523 Mar 12 '13 at 3:11 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted Just was searching for the same problem in Eclipse("Could not find or load main class"). It turned out in
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Error Could Not Find Or Load Main Class Cmd
Discuss the workings and policies of this site About Us Learn error could not find or load main class netbeans more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us error could not find or load main class linux Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, http://stackoverflow.com/questions/15352511/could-not-find-or-load-main-class-in-both-tomcat-and-workspace helping each other. Join them; it only takes a minute: Sign up Tomcat installation issue - “Could not find or load main class” up vote 0 down vote favorite I want to create a 'Dynamic web project' in eclipse. To do so, I want Tomcat to be listed in 'Target runtime' combo. So, I'm trying to install http://stackoverflow.com/questions/38740700/tomcat-installation-issue-could-not-find-or-load-main-class Tomcat. I changed the mode of all .sh files in TOMCAT_HOME/bin as follows; [root@localhost opt]# cd apache-tomcat-7.0.12/bin/ [root@localhost bin]# chmod 0755 *.sh I could see that there is a problem with my installation. How to resolve the below errors and install tomcat successfully? On executing ./version.sh command, I get the following Using CATALINA_BASE: /home/admin/apache-tomcat-9.0.0.M6-src Using CATALINA_HOME: /home/admin/apache-tomcat-9.0.0.M6-src Using CATALINA_TMPDIR: /home/admin/apache-tomcat-9.0.0.M6-src/temp Using JRE_HOME: /usr/java/jdk1.8.0_91 Using CLASSPATH: /home/admin/apache-tomcat-9.0.0.M6-src/bin/bootstrap.jar:/home/admin/apache-tomcat-9.0.0.M6-src/bin/tomcat-juli.jar Error: Could not find or load main class org.apache.catalina.util.ServerInfo On executing ./configtest.sh, I get the following error; Using CATALINA_BASE: /home/admin/apache-tomcat-9.0.0.M6-src Using CATALINA_HOME: /home/admin/apache-tomcat-9.0.0.M6-src Using CATALINA_TMPDIR: /home/admin/apache-tomcat-9.0.0.M6-src/temp Using JRE_HOME: /usr/java/jdk1.8.0_91 Using CLASSPATH: /home/admin/apache-tomcat-9.0.0.M6-src/bin/bootstrap.jar:/home/admin/apache-tomcat-9.0.0.M6-src/bin/tomcat-juli.jar Error: Could not find or load main class org.apache.catalina.startup.Bootstrap Configuration error detected! tomcat share|improve this question asked Aug 3 at 10:14 Sindhu Venkatachary 669 Hope you will find your answer from stackoverflow.com/questions/31029810/… –Dibakar Paul Aug 3 at 10:19 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server tomcat error.... User Name Remember Me? Password Linux - Server This forum is for the discussion of Linux Software used in http://www.linuxquestions.org/questions/linux-server-73/tomcat-error-4175458872/ a server related context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely could not disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide could not find was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 04-20-2013, 05:21 AM #1 sasaditya Member Registered: Dec 2012 Posts: 34 Rep: tomcat error.... hello.. i had download and configured java7 and tomcat7 in cent os 6.3.. [root@www ~]#tar xvfz /opt/jdk/jdk-7u11-linux-x64.tar [root@www ~]#tar xvfz /opt/tomcat/apache-tomcat-7.0.34.tar.gz [root@www ~]#chmod +x /opt/tomcat/apache-tomcat-7.0.39-src/bin/*.sh [root@www ~]#groupadd tomcat [root@www ~]#useradd -g tomcat -d /opt/tomcat/apache-tomcat-7.0.39-src tomcat [root@www ~]#chown tomcat:tomcat /opt/tomcat/apache-tomcat-7.0.39-src sasaditya View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sasaditya 04-20-2013, 05:23 AM #2 sasaditya Member Registered: Dec 2012 Posts: 34 Original Poster Rep: [root@www ~]#vi /etc/init.d/tomcat #!/bin/bash # description: Tomcat Start Stop