Some IA users reported that resource files could not be found when starting via the SprintBootApplication main method.

To investigate this issue, I specifically downloaded the IA Community dition.
during the startup process, * logs were observed.
SprintBootApplication - Starting SprintBootApplication on hostname with PID process ID (project path\publiccms-parent\publiccms\target\classes started by username in project path\publiccms-parent)
Because the files in the resource directory rely on the container's default servlet for deployment, it is necessary to ensure the correctness of the working path. In the logs above, the working path was set to IA's workspace path, which varies depending on different user configurations, leading to the failure to load resource files.
The solution is:

In the Run menu, find the Edit Configurations menu item, click Modify options to open the configuration options list, locate and click Working directory.

Select the Macros option on the far right, choose MOUDLE_DIR or select the physical path where the publiccms module is located.

Thanks to Public CMS - open Source Java CMS Group 3 (638756883) user 德军° for raising this issue.
16条评论
好
按操作完成了服务启动
真好
软件非常好
我也觉得很好
网盘里面有
界面有点老掉,可以更新新界面吗
前台界面还是后台界面 前台界面 都是需要用户自己创建的
界面更新了
个人用户怎么发布问答和文章呀? 或者哪里有教程可以看看
目前cms还是以后台发布为主,支持个人用户在前台投稿 但是还比较弱
解决
出个视频讲解下啊 别藏着
网盘里面有讲解视频的
二级评论哦
三级评论可以吗
cms没做三级评论 二级评论的评论也放在了二级,根据评论指令的不同参数,也可以做成只有一级 按时间排序