发表于: 2018-01-06 23:40:17

1 473



今天完成的事情:

1. 代码跑通

2. 禅道确定时间


明天计划的事情

1. pom配置上传的私服地址和打包方式

2. 开始写接口


遇到的问题:




收获:

1. 代码跑通



2. 

mvn clean install 报woning 

Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

解决办法:

<project>  

  <properties>  

    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>  

  </properties>  

</project>  




3. 报错

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.AspectJPointcutAdvisor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: com.ptteng.playlearn.ojbk.service [Xlint:invalidAbsoluteTypeName]
 原因:配置了自定义的spring-aop  预计是版本冲突
<bean id="LogAdvice" class="com.ptteng.playlearn.ojbk.util.LogAdvice">
</bean>
<aop:aspectj-autoproxy proxy-target-class="true" />
<aop:config   >
    <aop:aspect id="myAspect" ref="LogAdvice">
        <!--确定执行什么类进行通知-->
        <aop:pointcut id="time" expression="execution(* com.ptteng.playlearn.ojbk.service.*(..)) ||
                                            execution(* com.ptteng.playlearn.ojbk.controller.*(..))" />
        <aop:around method="around" pointcut-ref="time" />
    </aop:aspect>
</aop:config>






任务进度:pom配置jar上传的私服地址和打包方式,上传后写接口

DOME时间:2018-2-9



返回列表 返回列表
评论

    分享到