Skip to content
Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
Close

Search

Home/Software Development/Programming Languages/Java/org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder
JavaLinuxWindows

org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder

By Laszlo Pinter
December 9, 2017 1 Min Read
0

This error can happen on Linux and Windows, and the cause could be the same.

On Windows Server 2012R2 I opened a command prompt. To be able to delete a directory from the Tomcat webapps folder, I have issued the shutdown command.

When I started the server with the startup command, and navigated to my local website, my Java Spring MVC web application displayed the error message

org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder

The problem was, that the Tomcat service runs under root on Linux, and SYSTEM on Windows.

When you issue the startup command, Tomcat will run under the user account you logged in with.

Solution:

Stop and start the TomCat Linux or Windows service instead of issuing the shutdown and startup commands from the terminal or command prompt.

 

Tags:

DevOpsJavaLinuxTomcatWindows
Author

Laszlo Pinter

Follow Me
Other Articles
Previous

Only persistence units with transaction type JTA can be used as a container managed entity manager

Next

Java Spring MVC web application configuration in NetBeans 8

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Last Changes

  • Building Happy, the AI hardware robot November 12, 2026
  • Happy, the AI hardware robot – speech to text November 12, 2026
  • Happy, the AI hardware robot - the touch - metal plate November 11, 2026
  • Happy, the AI hardware robot – the neck – servo motor November 11, 2026
  • Happy, the AI hardware robot - the ears - microphone November 11, 2026

Tags

.NET .NETcore 3Dprinting AI AWS C# Chef cloud DevOps Docker EntityFramework Games Git Go iOS iPad iPhone iPod Java Kubernetes Linux MacOSX MSSQL MVC MySql Node.js Packer PowerShell Python RDS Ruby security Splunk storage TeamCity Terraform TestKitchen Tomcat Ubuntu Vagrant VirtualBox VisualStudio Windows WordPress Xcode

Recent Comments

  • Laszlo Pinter on Turn off the built in touchpad when a mouse is attached
  • Kenneth Bush on Turn off the built in touchpad when a mouse is attached
  • Zengei László on MyHeritage családfa exportálása és küldése emailben
  • Raúl Castillo on DynDns update error
  • MICHAEL on Windows Media Player 12 cannot find the album information

–

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright 2026 — Pinter Computing. All rights reserved.