开发者社区> 问答> 正文

springside的quickstart编译错误?报错

我下了springside-4.0.0.RC5-SP2之后运行quick-start.bat,showcase可以正常编译运行,quickstart编译报错,截取日志中部分错误如下:

2012-12-28 16:31:58,203 [main] ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [file:/F:/Driver/springside-4.0.0.RC5-SP2/examples/quickstart/target/classes/applicationContext.xml]; nested exception is org.springframework.beans.FatalBeanException: Invalid NamespaceHandler class [org.springframework.data.jpa.repository.config.JpaRepositoryNameSpaceHandler] for namespace [http://www.springframework.org/schema/data/jpa]: problem with handler class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/framework/AbstractAdvisingBeanPostProcessor

我在下载的包里也没找到bstractAdvisingBeanPostProcessor相关文件啊,这个应该怎么解决?

展开
收起
爱吃鱼的程序员 2020-06-22 22:37:28 516 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    这里人气不高啊,花了半天时间自己解决了,还是有些东西没下载下来,改了下settings.xml通过私服下载后编译成功。

    我也遇到这个问题,但是后续还是继续出现问题。

    [ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-compiler-plugin:3.
    0:compile(default-compile)onprojectspringside-test:Fatalerrorcompiling:C
    ompilerException:IllegalArgumentException:Illegalcharacterinpathatindex1
    7:jar:/C:/DocumentsandSettings/Administrator/.m2/repository/org/springframewo
    rk/spring-test/3.1.3.RELEASE/spring-test-3.1.3.RELEASE.jar!org/springframework/t
    est/context/junit4/AbstractJUnit4SpringContextTests.class->[Help1]

    有什么高招

    这个问题根源请看这里 http://forum.springsource.org/showthread.php?132111-problem-today-Spring-Data-JPA-Exception

    把spring版本换成3.2就没问题了

    2020-06-23 11:52:42
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载