Bonjour,

j'essaie d'utiliser une base de données
jdbc:derby://localhost:1527/sample avec spring

j'ai cette erreur :
INFO: 2010-05-11 10:47:22 WARN [InputStreamZippedJarVisitor] Unable to find file (ignored): jndi:/server/GestionUti/WEB-INF/classes/
java.io.FileNotFoundException


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url" value="jdbc:derby://localhost:1527/sample"/>
        <property name="username" value="root"/>
        <property name="password" value=""/>
    </bean>
 
    <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
        <property name="dataSource" ref="dataSource"/>
        <property name="jpaVendorAdapter" ref="jpaVendorAdapter"/>
        <property name="persistenceXmlLocation" value="/WEB-INF/classes/META-INF/persistence.xml"/>
        <property name="persistenceUnitName" value="base_ALF" />
        <property name="loadTimeWeaver">
            <bean class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver" />
        </property>
        <!--  <property name="jpaProperties" ref="jpaProperties" />-->
    </bean>
 
    <bean id="jpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
        <property name="showSql" value="false"/>
        <property name="generateDdl" value="true"/>
        <property name="databasePlatform" value="org.hibernate.dialect.DerbyDialect"/>
    </bean>
et je veux bien vérifier mais comme jy connais rien...
Quelqu'un aurait une idée svp?