- 博客(3)
- 收藏
- 关注
原创 java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the
但是在错误中看到了:list them explicitly or consider using "allowedOriginPatterns" instead.错误中已给出了答案,改成allowedOriginPatterns后,在console控制台中,程序已能正常运行。在配置后端配置类时:使用的是:allowedOriginis。
2024-05-24 16:44:51 339 1
原创 Selected version of Java 17 is not supported by the project SDK ‘1.8‘. Either choose a lower version
解决方案:将Server URL改为。
2024-05-22 17:27:01 401
原创 mybatis报错:java.lang.NullPointerExceptionat org.apache.ibatis.session.SqlSessionFactoryBuilder.build
resource在modules中没有被标记为资源文件夹,会导致 IntelliJ IDEA 无法正确处理这个文件夹中的代码。
2024-05-21 11:54:33 302 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人