1.1 安装
About 235 wordsLess than 1 minute
2025-01-24
1.1 安装
普通安装
如果只使用模拟引擎发或者脚本引擎,则需要安装beetl
使用maven,请使用如下坐标
<dependency>
<groupId>com.ibeetl</groupId>
<artifactId>beetl</artifactId>
<version>${最新版本}</version>
</dependency>
最新版本可以从 https://search.maven.org/ 中查询到
特定antlr支持
有时候,你的系统别的库还使用了特定的Antlr版本,你不想使用beetl自带的antlr,那可以artifactId可以使用如下版本
antlr 版本 | Beetl |
---|---|
4.5 | |
4.6 | |
4.7 | |
4.8 | |
4.9 | |
4.10 | |
4.11 | |
4.12 |
<dependency>
<groupId>com.ibeetl</groupId>
<artifactId>beetl-antlr4.11</artifactId>
<version>3.15.0.RELEASE</version>
<exclusions>
<!--排除beetl带的antlr4.11 -->
<exclusion>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
</exclusion>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.12.0</version>
<scope>compile</scope>
</dependency>
Web框架安装
参考Web集成,按照文档安装
- [Spring Boot](3.5 SpringBoot集成.md)
- Servlet