发表于: 2017-08-01 00:37:47
1 1066
今天完成的:
和前端商量了一下方案,确定了一些时间。
抛弃了SSM的项目结构,学一下DAL
收获:
1.昨天maven的异常找到了解决办法
Use the install-file
goal of Maven's Install Plugin:
... to install an externally created artifact into the local repository, along with its POM.
- install:install-file is mostly used to install an externally created artifact into the local repository, along with its POM. In that case the project information can be taken from an optionally specified pomFile, but can also be given using command line parameters.
- 但没起作用,手动将pom文件打进去还是会提示找不到pom文件
install:install-file -Dfile=pom.xml -DgroupId=com.taotao -DartifactId=taotao-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar
绝望,放弃了,重搭框架
遇到的问题:
1.重搭框架仍然不行,不知道说什么好,看来是maven仓库的问题了
在师兄的帮助下突然就跑通了,大吃一惊。用这种方式run就可以成功。感谢师兄
用这种命令行的形式就是失败。
但两个都是用的同一个tomcat7插件啊,而且命令也一样。虽然不太理解,但以后尽量不会用图二的方式构建maven命令了,不知道里面有什么坑。
明天的计划:
写方案,把DAL弄起来
评论