错误: 找不到或无法加载主类 com.demo.common.DemoConfig

项目上右键 -> Build Path -> Order and Export 修改顺序:

从上到下依次为:

src

res

JRE System Library 

Web App Library

05-11 19:21