Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7008211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:42:20+00:00 2026-05-27T21:42:20+00:00

In development mode in eclipse with jetty the fileupload works just fine. I upload

  • 0

In development mode in eclipse with jetty the fileupload works just fine. I upload a file and do stuff and finally print the results. I use xampp tomcat server, but the upload doesn’t work on tomcat. has anyone an idea how to solve? I’m using commons-fileupload.jar

There must be some log somewhere, either on the server-side (catalina.out) or in your browser’s error console and/or developer tools.

yes, indeed. sorry for the few information.

*Jan 03, 2012 2:29:58 PM com.allen_sauer.gwt.log.server.ServerLogImplJDK14 log
fatal: blubb\file.csv (File not found) in class com.package.server.IKimoServerImpl*

so on tomcat it cannot find the file, but it works in development mode

@Adel Boutros

        String currentDir =  new File("").getAbsolutePath();

        File tempDir = new File(currentDir+"/blubb");
        if (!tempDir.exists()) {
            tempDir.mkdirs();
        }

it still doesn’t create the folder.
I start tomcat with xampp and press the start button and restart the it with the tomcat manager

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:42:21+00:00Added an answer on May 27, 2026 at 9:42 pm

    Apparently, you have misplaced your file. Don’t forget java uses relative path to find a file. In your case it is searching for the file blubb\file.csv which is not found in the correct place.

    Don’t forget the “path” here is relative to where you launched the tomcat from.

    It works in eclipse, because eclipse knows how to adjust the path based on its own classpath ..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I use wrapper_tag in simple_form, it works fine in development mode, but, when
Everything works fine in development mode, but when I try to start my app
If I use GWT's Development Mode with Eclipse, changes that I make in the
When I run SquishIt in development mode everything works fine. When I put it
How am I supposed to use ruby with development mode, which is not require
My Rails app runs fine in development mode (without caching) but in production has
Can someone explain how to send mail in development mode from the gwt jetty
I'm using the maven-jetty-plugin to run a web application in development mode. Also, I
i am new to android development. I use the eclipse with android plug-in and
I want to use tomcat server in development mode with GWT. When I use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.