java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • One-JAR is incompatible with Jetty
    via one-jar by chengas123
    ,
  • Reporting: FileNotFoundException is thrown
    via by simone.seurer,
  • Hi, When I put my project in the directory C:\Program Files\...\myproject, (with a white space in program Files), the console logs errors when the application start in tomcat : {code} Error tomcat GRAVE: Critical error during deployment: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Developpements/eclipse-indigo/workspace2/JavaServerFaces2/target/classes/META-INF/sphinx-el-functions.taglib.xml at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:662) [...] Caused by: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Developpements/eclipse-indigo/workspace2/JavaServerFaces2/target/classes/META-INF/sphinx-el-functions.taglib.xml at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at com.sun.faces.config.configprovider.MetaInfFaceletTaglibraryConfigProvider.pruneURLs(MetaInfFaceletTaglibraryConfigProvider.java:144) ... 16 more [...] GRAVE: Unexpected exception when attempting to tear down the Mojarra runtime java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory. {code} When I move my project in the directory C:\temp\myprojet (directories without white space), everything is fine! We can do that easily in eclipse with the option Refactor/Move (Alt+Shift+V) on the project. I joined the war file in this jira. The first Jira of this problem is http://java.net/jira/browse/JAVASERVERFACES-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=337794 Thanks
    via by margasy,
  • java.io.FileNotFoundException: JAR entry com/atlassian/bamboo/brokenbuildtracker/notifications/userRemovedImTemplate.ftl not found in /opt/java/servers/jakarta-tomcat-5.5.9/webapps/bamboo/WEB-INF/lib/atlassian-bamboo-plugin-brokenbuildtracker-1.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:114) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124) at freemarker.cache.URLTemplateSource.close(URLTemplateSource.java:140) at freemarker.cache.URLTemplateLoader.closeTemplateSource(URLTemplateLoader.java:107) at freemarker.cache.MultiTemplateLoader$MultiSource.close(MultiTemplateLoader.java:186) at freemarker.cache.MultiTemplateLoader.closeTemplateSource(MultiTemplateLoader.java:140) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:382) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235) at freemarker.template.Configuration.getTemplate(Configuration.java:487) at freemarker.template.Configuration.getTemplate(Configuration.java:452) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:417) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:259) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:235) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:304) at com.atlassian.bamboo.brokenbuildtracker.notifications.UserResponsibilityRemovedNotification.getIMContent(UserResponsibilityRemovedNotification.java:67) at com.atlassian.bamboo.notification.transports.ImTransport.sendNotification(ImTransport.java:64) at com.atlassian.bamboo.notification.NotificationDispatcher.dispatchNotifications(NotificationDispatcher.java:59) at com.atlassian.bamboo.brokenbuildtracker.notifications.UserRespNotificationListener.handleEvent(UserRespNotificationListener.java:62) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy208.handleEvent(Unknown Source) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:34) at java.lang.Thread.run(Thread.java:595) Bamboo - REST Acceptance tests build 2204 was SUCCESSFUL (with 53 tests). Change made by Marek Went. http://panda.sydney.atlassian.com:8080/bamboo/browse/BAM-RESTFUNC-2204/
    via by Marek Went [Atlassian],
  • template loaders in .jar
    via freemarker by nobody
    ,
  • java.io.FileNotFoundException: JAR entry com/atlassian/bamboo/brokenbuildtracker/notifications/userRemovedImTemplate.ftl not found in /opt/java/servers/jakarta-tomcat-5.5.9/webapps/bamboo/WEB-INF/lib/atlassian-bamboo-plugin-brokenbuildtracker-1.0-SNAPSHOT.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:114) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124) at freemarker.cache.URLTemplateSource.close(URLTemplateSource.java:140) at freemarker.cache.URLTemplateLoader.closeTemplateSource(URLTemplateLoader.java:107) at freemarker.cache.MultiTemplateLoader$MultiSource.close(MultiTemplateLoader.java:186) at freemarker.cache.MultiTemplateLoader.closeTemplateSource(MultiTemplateLoader.java:140) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:382) at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235) at freemarker.template.Configuration.getTemplate(Configuration.java:487) at freemarker.template.Configuration.getTemplate(Configuration.java:452) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:417) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:259) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:235) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:304) at com.atlassian.bamboo.brokenbuildtracker.notifications.UserResponsibilityRemovedNotification.getIMContent(UserResponsibilityRemovedNotification.java:67) at com.atlassian.bamboo.notification.transports.ImTransport.sendNotification(ImTransport.java:64) at com.atlassian.bamboo.notification.NotificationDispatcher.dispatchNotifications(NotificationDispatcher.java:59) at com.atlassian.bamboo.brokenbuildtracker.notifications.UserRespNotificationListener.handleEvent(UserRespNotificationListener.java:62) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy208.handleEvent(Unknown Source) at com.atlassian.bamboo.event.BambooEventManager$2.run(BambooEventManager.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:34) at java.lang.Thread.run(Thread.java:595) Bamboo - REST Acceptance tests build 2204 was SUCCESSFUL (with 53 tests). Change made by Marek Went. http://panda.sydney.atlassian.com:8080/bamboo/browse/BAM-RESTFUNC-2204/
    via by Marek Went [Atlassian],
  • Spring 1.4.2 Bug
    via GitHub by evser
    ,
    • java.io.FileNotFoundException: JAR entry lib/jetty-webapp-8.0.0.M2.jar\!/org/eclipse/jetty/webapp/webdefault.xml not found in /home/bmccann/workspace
    • ews/main/build/libs/frontend-1.0-standalone.jar at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:140) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:187) at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:203) at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:60) at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:142) at org.eclipse.jetty.webapp.MetaData.setDefaults(MetaData.java:117) at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:46) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:465) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:495) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:244) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at com.slice.news.frontend.server.WebServer.run(WebServer.java:100) at com.slice.news.frontend.server.WebServer.main(WebServer.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.simontuffs.onejar.Boot.run(Boot.java:351) at com.simontuffs.onejar.Boot.main(Boot.java:156)

    Users with the same issue

    rprp
    3 times, last one,
    tvrmsmithtvrmsmith
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    davidvanlaatumdavidvanlaatum
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,