309 Star 2K Fork 701

dromara / J2eeFAST

 / 详情

war打包,启动报错

已完成
创建于  
2021-05-02 10:12

请按以下步骤描述你的问题 尽量图文描述, 问题描述清楚,否则不予处理!!!

1.你的问题是怎么引起的(出现这个问题时你之前改动过什么)?

什么都没该,最新项目下下来,打成war包,放入tomcat中启动,就报错误:

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    com.j2eefast.framework.config.ShiroConfig.sessionManager(ShiroConfig.java:184)

The following method did not exist:

    com.j2eefast.common.core.shiro.ShiroSessionManager.setSessionIdUrlRewritingEnabled(Z)V

The method's class, com.j2eefast.common.core.shiro.ShiroSessionManager, is available from the following locations:

    jar:file:/D:/development/apache-tomcat-8.5.65/webapps/fast/WEB-INF/lib/fast-common-2.2.0.jar!/com/j2eefast/common/core/shiro/ShiroSessionManager.class

It was loaded from the following location:

    file:/D:/development/apache-tomcat-8.5.65/webapps/fast/WEB-INF/lib/fast-common-2.2.0.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of com.j2eefast.common.core.shiro.ShiroSessionManager

2.你是否针对这个问题有过自己的解决方案?你是怎么处理?你做过什么尝试?( 如果有就写,最好图文描述 )

3.问题重现步骤( 如果有就写,最好图文描述 )

4.报错信息

评论 (2)

fendo 创建了任务
fendo 关联仓库设置为周周/J2eeFAST
fendo 修改了描述
展开全部操作日志

按文档应该是可以的,我这边测试没问题。还有tomcat 版本,自己可以查看下项目引入jar的依赖版本

它好像是jar包没有下载,所以没有找到类

周周 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
1816537 zhouhuanogp 1584234850 958929 fendo 1578936778
Java
1
https://gitee.com/dromara/J2EEFAST.git
git@gitee.com:dromara/J2EEFAST.git
dromara
J2EEFAST
J2eeFAST

搜索帮助