level 1
边吐槽边学习
楼主
You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed
各位前辈,我是Struts2新手,在学习HelloWord的程序中,导入包如下:

然后运行时提示如下错误
You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
网上说更换commons-loggin-1.1.3.jar的包为1.0版本的即可,但是没有用,依旧提错。于是我干脆换了一组包,如下图:

依旧提此异常。我清除了eclipse EE的缓存,但是没有用。
很希望各位前辈帮帮忙,在校大学生自学的Struts2,孤立无援,同学都不会,希望能得到救助
联系QQ:1813574898
2018年02月10日 13点02分
1
各位前辈,我是Struts2新手,在学习HelloWord的程序中,导入包如下:

然后运行时提示如下错误You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
网上说更换commons-loggin-1.1.3.jar的包为1.0版本的即可,但是没有用,依旧提错。于是我干脆换了一组包,如下图:

依旧提此异常。我清除了eclipse EE的缓存,但是没有用。很希望各位前辈帮帮忙,在校大学生自学的Struts2,孤立无援,同学都不会,希望能得到救助
联系QQ:1813574898