Popular Posts

Saturday, June 7, 2014

Missing artifact org.aspectj:aspectjweaver:jar:1.8.0.M1 for spring 4.0.0


Problem When you upgrade pom version to Spring 4.0.0.RELEASE, it is prompting missing artifact org.aspectj:aspectjweaver:jar:1.8.0.M1

Solution

upgrade aspectjweaver 1.7.4 as 1.8.0 is not available.
1) org.aspectj aspectjweaver 1.7.4
2) Add the Aspect in the configuration false src/main/java src/main/webapp/schemas **/*.xsd src/main/resources/bindings false org.springframework spring-aspects true

nested exception is java.lang.incompatibleclasschangeerror org.springframework.asm.classvisitor

Problem BeanDefinitionStoreException Failed to read candidate component class nested exception is java.lang.incompatibleclasschangeerror org.springframework.asm.classvisitor Solution upgrade Spring all version to 4.0 Check the dependency version by the following command. mvn dependency:tree Change the Spring version by adding the dependenncy in the pom.xml org.springframework spring-core ${spring.version} org.springframework spring-web ${spring.version} org.springframework spring-webmvc ${spring.version} org.springframework spring-context ${spring.version} org.springframework spring-beans ${spring.version} org.springframework spring-aop ${spring.version} org.springframework spring-aspects ${spring.version} commons-collections commons-collections 3.2 org.springframework spring-oxm ${spring.version} org.springframework.ws spring-ws-core ${spring.ws.version} org.apache.ws.commons.schema XmlSchema 1.4.3 org.springframework spring-jms ${spring.version} org.aspectj aspectjweaver 1.7.4 org.hibernate hibernate-core 4.3.5.Final

ERROR 2003 (HY000): Can't connect to MySQL server on localhost (10061)

Problem : ERROR 2003 (HY000): Can't connect to MySQL server on localhost (10061) Solution : Start the mysql as service. "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --install-manual go to services.msc start the mysql as automatic