java.lang.IllegalStateException: Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

,

Make sure the glassfish server is running and hosts the file and is accessible to the public. If that's not the case, change the permissions of the file in the server's file system.

Solutions on the web

via Google Groups by Michael Giroux, 1 year ago
Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'
via Google Groups by Unknown author, 11 months ago
Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'
via Google Groups by Unknown author, 10 months ago
Fail to read file '/proj/new/src/cnf/symlink' with encoding 'UTF-8'
via Google Groups by Unknown author, 11 months ago
Fail to read file '/testdata/gradle/wrapper/newtest.jar' with encoding 'UTF-8'
via Google Groups by Giacomo Boccardo, 7 months ago
Fail to read file 'C:\PARENT-1-PROJECT_LOC\pom.xml' with encoding 'UTF-8'
java.io.FileNotFoundException: C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileMetadata.readFile(FileMetadata.java:158)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileMetadata.readMetadata(FileMetadata.java:139)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.InputFileBuilder.create(InputFileBuilder.java:49)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.indexFile(FileIndexer.java:85)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.indexFiles(FileIndexer.java:80)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.index(FileIndexer.java:68)
at org.sonarsource.sonarlint.core.container.analysis.filesystem.SonarLintFileSystem.index(SonarLintFileSystem.java:39)
at org.sonarsource.sonarlint.core.analyzer.sensor.PhaseExecutor.execute(PhaseExecutor.java:42)
at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:143)
at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
at org.sonarsource.sonarlint.core.container.standalone.StandaloneGlobalContainer.analyze(StandaloneGlobalContainer.java:118)
at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:93)
at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:83)
at org.sonarlint.eclipse.core.internal.jobs.StandaloneSonarLintClientFacade.runAnalysis(StandaloneSonarLintClientFacade.java:60)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob.run(AnalyzeProjectJob.java:457)
at org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob$AnalysisThread.run(AnalyzeProjectJob.java:127)

Users with the same issue

Once, 6 hours ago
Once, 1 week ago
3 times, 1 week ago
Once, 1 week ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.