已解决问题
1. Event log 报错“Spring Configuration Check”
Unmapped Spring configuration files found
.
Please configure Spring facet or use
'Create Default Context' to add one including all unmapped files
.
解决方案:Spring Configuration Check
2. 部署simulator项目环境
① 导入项目文件 IDEA导入Java项目
② 配置maven 配置环境变量 配置xml文件
③ 引用其他项目作为依赖并添加配置 一个项目引用另一个项目时相应操作
3. 控制台报错 ERROR in ch.qos.logback.core.joran.spi.Interpreter
no applicable action
for [Encoding
], current ElementPath is
[[configuration
][appender
][Encoding
]]
解决方案:该报错表明Encoding标签是不可用的,这是因为从老项目拿的文件过来,之前用的logback也比较老,在最新版本中这一个配置已经不能用了,所以需要去除logback.xml文件中以下代码段。
<Encoding>UTF
-8</Encoding
>
4. 控制台报错 Resource [logback.xml] occurs multiple times on the classpath.
-WARN in ch
.qos
.logback
.classic
.LoggerContext
[default] - Resource
[logback
.xml
] occurs multiple times on the classpath
.
-WARN in ch
.qos
.logback
.classic
.LoggerContext
[default] - Resource
[logback
.xml
] occurs at
[jar
:file
:/app
/uttf
/lib
/sadk
-kit
-1.0.0.jar
!/logback
.xml
]
解决方案:这是由于express项目和simulator项目中都有logback.xml文件,两个xml文件冲突,因此只需要将simulator项目中的simulator.xml文件重命名为simulator-spring.xml即可。
未解决问题
1. 小论文写作——基于蚁群遗传算法的移动机器人路径规划
具体步骤:查看GitHub上下载的项目代码、论文中的路径规划方法,并尝试应用到express项目中。(迫切需要解决)
2. express项目与simulator项目程序代码未能完全搞清楚,还需要具体阅读
目前进度1/20
3.express项目中尚未解决的报错——程序运行后,软件界面不能关闭
Exception in thread
"AWT-EventQueue-0" org
.springframework
.jdbc
.BadSqlGrammarException
:
### Error updating database
. Cause
: com
.mysql
.jdbc
.exceptions
.jdbc4
.MySQLSyntaxErrorException
: Table
'express.sorting' doesn't exist
### The error may involve com
.xxxtai
.express
.dao
.SortingDAO
.insert
-Inline
### The error occurred
while setting parameters
### SQL
: INSERT INTO sorting
(create_time
, modify_time
, features
, total_time
, total_quantity
, per_hour
) VALUES
(?, ?, ?, ?, ?, ?)
### Cause
: com
.mysql
.jdbc
.exceptions
.jdbc4
.MySQLSyntaxErrorException
: Table
'express.sorting' doesn't exist
; bad SQL grammar
[]; nested exception is com
.mysql
.jdbc
.exceptions
.jdbc4
.MySQLSyntaxErrorException
: Table
'express.sorting' doesn't exist
同时Mapper文件夹中SortingMapper.xml文件还存在报错
Unable to resolve column
'create_time' .
猜想的解决办法: sortingMapper.xml文件中sorting表没有在MySQL表中创建,可以先创建tabel表试运行,但是具体怎么解决还需要使用Debug调试。
4. simulator项目运行不显示界面,主方法中抛出异常,需要解决
猜想的解决方式:可能程序中需要设置起始节点和终止节点(暂缓解决)