Home > Java > Javagetting Started > Java system prompts that the specified file cannot be found

Java system prompts that the specified file cannot be found

王林
Release: 2019-11-22 15:57:05
Original
3238 people have browsed it

Java system prompts that the specified file cannot be found

Error:

java.io.FileNotFoundException: G:\HibernateWorkspace\codedog\out\artifacts\codedog_war_exploded\uploadFiles\logo1.png

Reason:

In fact, this requires G:\HibernateWorkspace\codedog\out\artifacts\codedog_war_explodedThere is an uploadFiles folder below, however When the intellij idea editor is in use, it will not deploy the empty folders in the web directory for you.

Solution:

1. Manually create an uploadFiles folder in G:\HibernateWorkspace\codedog\out\artifacts\codedog_war_exploded\;

2. Create a file under web and add an arbitrary file.

Recommended tutorial: java quick start

The above is the detailed content of Java system prompts that the specified file cannot be found. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template