eclipse - Error running Maven classworlds-1.1.pom.lastUpdated corrupted -


i'm french try have orthograph,

when run project maven have error (i don't found how newlines) :

 [warning] failed canonicalize path  c:\users\administrator\.m2\repository\classworlds\classworlds\1.1\classworlds-1.1.pom.lastupdated:  file or directory corrupted , unreadable  [warning] failed  canonicalize path  c:\users\administrator\.m2\repository\classworlds\classworlds\1.1\classworlds-1.1.pom.lastupdated:  file or directory corrupted , unreadable [warning] failed  write tracking file  c:\users\administrator\.m2\repository\classworlds\classworlds\1.1\classworlds-1.1.pom.lastupdated  java.io.filenotfoundexception:  c:\users\administrator\.m2\repository\classworlds\classworlds\1.1\classworlds-1.1.pom.lastupdated  (the file or directory corrupted , unreadable) build failure 

i tried eclipse , netbeans, , removed repertory classworlds unless results

in springgardenapplication.java file :

 package org.yannart.springgarden;   import  org.springframework.context.support.classpathxmlapplicationcontext;   /**  * classe qui initialise l'application springgarden.  */ public  class springgardenapplication {      /**      * methode main ou commence le flux de l'application.    */     public static void main(string[] args) {          // demarre le contexte de spring        new  classpathxmlapplicationcontext("applicationcontext.xml",                 springgardenapplication.class);     } } 

in web.xml file :

<!doctype web-app public  "-//sun microsystems, inc.//dtd web application 2.3//en"  "http://java.sun.com/dtd/web-app_2_3.dtd" >  <web-app>   <display-name>archetype created web application</display-name> </web-app> 

in applicationcontext.xml file :

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xmlns:aop="http://www.springframework.org/schema/aop"     xmlns:context="http://www.springframework.org/schema/context"     xmlns:p="http://www.springframework.org/schema/p"     xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd      http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">      <!-- annotations pour l'injection de dependances -->     <context:annotation-config />      <!-- annotations pour la creation de beans -->     <context:component-scan base-package="org.yannart.springgarden" />      <!-- annotations pour aop -->     <aop:aspectj-autoproxy />          <!-- jardinier -->     <bean id="jardinier" class="org.yannart.springgarden.jardinier" p:nom="dupond" />          <!--plantes -->     <bean id="tomate" parent="plante" scope="prototype" p:nomplante="tomate" />     <bean id="patate" parent="plante" scope="prototype" p:nomplante="patate" />     <bean id="choux" parent="plante" scope="prototype" p:nomplante="choux" />     <bean id="pomme" parent="plante" scope="prototype" p:nomplante="pomme" />     <bean id="poire" parent="plante" scope="prototype" p:nomplante="poire" />     <bean id="poiremalade" parent="plante" scope="prototype" p:nomplante="poiremalade" />     <bean id="patatemalade" parent="plante" scope="prototype" p:nomplante="patatemalade" />          <!-- potager -->     <bean id="potager" class="org.yannart.springgarden.parcelle"         init-method="melanger">         <property name="nom" value="potager" />         <property name="plantes">             <list>                 <ref bean="tomate" />                 <ref bean="patate" />                 <ref bean="patatemalade" />                 <ref bean="choux" />                 <ref bean="choux" />             </list>         </property>     </bean>      <!-- verger -->     <bean id="verger" class="org.yannart.springgarden.parcelle"         init-method="melanger">         <property name="nom" value="verger" />         <property name="plantes">             <list>                 <ref bean="pomme" />                 <ref bean="poiremalade" />                 <ref bean="poire" />             </list>         </property>     </bean>              <!-- jardin -->     <bean id="jardin" class="org.yannart.springgarden.jardin" init-method="jardiner">         <property name="jardinier" ref="jardinier" />         <property name="parcelles">             <list>                 <ref bean="potager" />                 <ref bean="verger" />             </list>         </property>         <!-- les doses sont aléatoires -->         <property name="doseeau" value="#{ t(java.lang.math).random() * 100 }" />         <property name="doseengrais" value="#{ t(java.lang.math).random() * 50 }" />     </bean> 

furthermore, when delete repertory "repository" in repertory ".m2" repertory "1.1" here , apparently corrupted

do have idea? thanks

maybe problem comes cache. have tried delete entire content of .m2/repository/ ?

try stop server , maven before deleting. if netbeans, can see servers : enter image description here

if there process locked, can kill directly or reboot pc.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -