DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • JMeter Plugin HTTP Simple Table Server (STS) In-Depth
  • Optimizing Database Connectivity: A Comparative Analysis of Tomcat JDBC vs. HikariCP
  • Deployment of Spring MVC App on a Local Tomcat Server
  • Java 21 Is a Major Step for Java: Non-Blocking IO and Upgraded ZGC

Trending

  • DZone's Article Submission Guidelines
  • How to Submit a Post to DZone
  • Using Python Libraries in Java
  • The Smart Way to Talk to Your Database: Why Hybrid API + NL2SQL Wins
  1. DZone
  2. Coding
  3. Languages
  4. Fixing an Apache Tomcat Installation Error

Fixing an Apache Tomcat Installation Error

When I was configuring Tomcat Server in the SpringSource Tool Suite, I got an installation error. Here's how I fixed it.

By 
Akkiraju Ivaturi user avatar
Akkiraju Ivaturi
·
Dec. 30, 16 · Tutorial
Likes (1)
Comment
Save
Tweet
Share
8.6K Views

Join the DZone community and get the full member experience.

Join For Free

When I was configuring Tomcat Server in SpringSource Tool Suite, I got the following error:

The Apache Tomcat installation at this directory is version 8.5.5. A Tomcat 8.0 installation is expected.

This is basically the problem with Tomcat, it seems, as per forums and other resources. However, you can fix the issue, as the STS was looking for version 8.0 by editing the ServerInfo.properties in the jar file \lib\catalina.jar in the Tomcat installation server.

If you are using Bash like me, here are the steps you need to make in order to fix the error:

$ cd lib
$ mkdir catalina
$ cd catalina/
$ unzip ../catalina.jar
$ vim org/apache/catalina/util/ServerInfo.properties
$ jar uf ../catalina.jar org/apache/catalina/util/ServerInfo.properties
$ cd..$ rm -rf catalina 

The serverInfo.properties file should be as below:

server.info=Apache Tomcat/8.0.0 
server.number=8.5.5.0 
server.built=Aug 31 2016 19:51:16 UTC 

Note that it is just enough if you change server.info property and no need to change other information. They can stay as it is.

Now, the issue should be fixed and you can continue with your work.

Note: If you are working on Windows, then you do not need to follow the above steps and you can use any archive tools like WinRar or Winzip. Go to the location org/apache/catalina/util/ServerInfo.properties and make the change.

Hope this helps!

Apache Tomcat

Published at DZone with permission of Akkiraju Ivaturi. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • JMeter Plugin HTTP Simple Table Server (STS) In-Depth
  • Optimizing Database Connectivity: A Comparative Analysis of Tomcat JDBC vs. HikariCP
  • Deployment of Spring MVC App on a Local Tomcat Server
  • Java 21 Is a Major Step for Java: Non-Blocking IO and Upgraded ZGC

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!