Skip to content

感觉cola5的Java和springboot版本有点乱 #586

@HuhaStephen

Description

@HuhaStephen

cola-components中使用的版本如下:

<java.version>17</java.version>

<maven.compiler.source>17</maven.compiler.source>

<maven.compiler.target>17</maven.compiler.target>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<spring.boot.version>3.1.0</spring.boot.version>

但是生成的项目和提供的craftsman使用的又是:

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.deploy.skip>true</maven.deploy.skip>

    <cola.components.version>5.0.0</cola.components.version>

    <spring-boot.version>2.7.5</spring-boot.version>
    <mybatis-starter.version>2.2.2</mybatis-starter.version>
</properties>

导致示例项目根本起不来。
我不得不升级我的Java版本,才起来服务,而且我把spring boot升级到3.0+的时候,项目就报错。

既然作为一个框架了,望解决这些问题!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions