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

Solutions on the web

via Spring JIRA by Guillaume Nodet, 1 year ago
: Failed to convert property value of type [java.lang.String] to required type [java.io.File] for property 'file'; nested exception is java.lang.IllegalArgumentException: Could not retrieve File for OSGi resource[file:/Users/gnodet/work/apps/apache
via Spring JIRA by Guillaume Nodet, 2 years ago
: Failed to convert property value of type [java.lang.String] to required type [java.io.File] for property 'file'; nested exception is java.lang.IllegalArgumentException: Could not retrieve File for OSGi resource[file:/Users/gnodet/work/apps/apache
via Ecosystem JIRA by Steve Hoffman, 1 month ago
Error creating bean with name 'handler' defined in URL [bundle://23.0:0/META-INF/spring/web-context.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletContext
via bitbucket.org by Unknown author, 1 year ago
Error creating bean with name 'ttsWorkingDayService' defined in URL [bundle://150.0:0/META-INF/spring/atlassian-plugins-components.xml]: Initialization of bean failed; nested exception is java.lang.TypeNotPresentException: Type com.pyxis.greenhopper.jira.configurations.NonWorkingDay not present
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.file.FilePollerEndpoint#0' defined in URL [bundle://158.0:0/META-INF/spring/file-poller.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.io.File] for property 'file'; nested exception is java.lang.IllegalArgumentException: Could not retrieve File for OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml]: OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml] cannot be resolved to absolute file path at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138) at java.lang.Thread.run(Thread.java:613)Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.io.File] for property 'file'; nested exception is java.lang.IllegalArgumentException: Could not retrieve File for OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml]: OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml] cannot be resolved to absolute file path at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1289) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1250) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) ... 16 moreCaused by: java.lang.IllegalArgumentException: Could not retrieve File for OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml]: OSGi resource[file:/Users/gnodet/work/apps/apache-servicemix-4.0.0/input|bnd.id=158|bnd.sym=file-poller.xml] cannot be resolved to absolute file path at org.springframework.beans.propertyeditors.FileEditor.setAsText(FileEditor.java:100) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:382) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:358) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:173) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386) ... 20 more