We have the following Spring bean config:

<bean id="sqlSessionFactory"
class="org.mybatis.spring.SqlSessionFactoryBean">
                <property name="dataSource" ref="dataSource" />

                <property name="mapperLocations">
                     <list>
                         
<value>classpath*:com/nextgate/mm/mappers/*.xml</value> 
                         
<value>classpath*:org/activiti/db/mapping/entity/*.xml</value>        
                     </list>
                </property>
                <property name="configLocation"
value="classpath:com/nextgate/mm/config/mybatis-config.xml" />
        </bean>

Getting following exceptions on activation of WAB.

2014-04-25 13:59:41,644 | WARN  | Local user karaf |
hMatchingResourcePatternResolver | 258 - workflow-ws-server - 1.0.0.SNAPSHOT
| Cannot search for matching files underneath URL
[bundle://258.3:33/com/nextgate/mm/mappers/] because it does not correspond
to a directory in the file system
java.io.FileNotFoundException: URL
[bundle://258.3:33/com/nextgate/mm/mappers/] cannot be resolved to absolute
file path because it does not reside in the file system:
bundle://258.3:33/com/nextgate/mm/mappers/

2014-04-25 13:59:41,658 | WARN  | Local user karaf |
hMatchingResourcePatternResolver | 258 - workflow-ws-server - 1.0.0.SNAPSHOT
| Cannot search for matching files underneath URL
[bundle://258.3:4/org/activiti/db/mapping/entity/] because it does not
correspond to a directory in the file system
java.io.FileNotFoundException: URL
[bundle://258.3:4/org/activiti/db/mapping/entity/] cannot be resolved to
absolute file path because it does not reside in the file system:
bundle://258.3:4/org/activiti/db/mapping/entity/

WAB has foo.jar and bar.jar in WEB-INF/lib which contains the above
packages/paths.  How to fix?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Does-not-exist-in-file-system-tp4032974.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to