mrxiaom / lapis Goto Github PK
View Code? Open in Web Editor NEWMirai 开发版本下载器
Home Page: https://mirai.mamoe.net/topic/2333
License: GNU Affero General Public License v3.0
Mirai 开发版本下载器
Home Page: https://mirai.mamoe.net/topic/2333
License: GNU Affero General Public License v3.0
日志如下:
`
在运行本程序之前, 请确保你已经安装 java.
请在下方输入版本号并回车以下载开发版本.
开发版本的版本号可以在以下链接中获取:
https://repo.mirai.mamoe.net/snapshots/net/mamoe/mirai-core
输入版本号: 2.15.0-dev-105
注: 其中一个库下载耗时较长,请耐心等待
FAILURE: Build failed with an exception.
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 64
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 1s
若提示 BUILD SUCCESSFUL, 一键包已成功打包到 ./build/lapis 文件夹中.
若提示 BUILD FAILED, 可能是版本号输入错误或者网络问题.
按任意键退出`
请问应该如何解决这个问题?谢谢
在win2016服务器下部署lapris,双击运行setup.bat文件后出错,内容如下:
'开发版本的版本号可以在以下链接中获取:' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 'version' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '谙略?' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 'ion' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '籼崾?BUILD' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 'D' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '按任意键退出' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
[root@VM-0-11-centos Lapis-main]# ./setup.sh
在运行本程序之前, 请确保你已经安装 java.
请在下方输入版本号并回车以下载开发版本.
开发版本的版本号可以在以下链接中获取:
https://repo.mirai.mamoe.net/snapshots/net/mamoe/mirai-core
输入版本号: 2.15.0-dev-105
注: 其中一个库下载耗时较长,请耐心等待
Downloading https://services.gradle.org/distributions/gradle-7.5.1-bin.zip
...........10%............20%...........30%............40%...........50%............60%...........70%............80%...........90%............100%
Welcome to Gradle 7.5.1!
Here are the highlights of this release:
For more details see https://docs.gradle.org/7.5.1/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 1m 17s
4 actionable tasks: 3 executed, 1 up-to-date
若提示 BUILD SUCCESSFUL, 一键包已成功打包到 ./build/lapis 文件夹中.
若提示 BUILD FAILED, 可能是版本号输入错误或者网络问题.
[root@VM-0-11-centos Lapis-main]# ./mirai/Start.Server.sh
-bash: ./mirai/Start.Server.sh: No such file or directory
[root@VM-0-11-centos Lapis-main]# ./build/mirai/Start.Server.sh
Error: Could not find or load main class net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
[root@VM-0-11-centos Lapis-main]# java -version
openjdk version "11.0.16" 2022-07-19 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el7_9) (build 11.0.16+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el7_9) (build 11.0.16+8-LTS, mixed mode, sharing)
[root@VM-0-11-centos Lapis-main]# ./build/mirai/Start.Server.sh
Error: Could not find or load main class net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
[root@VM-0-11-centos Lapis-main]# ./build/mirai/Start.Server.cmd
./build/mirai/Start.Server.cmd: line 1: @echo: command not found
./build/mirai/Start.Server.cmd: line 2: setLocal: command not found
./build/mirai/Start.Server.cmd: line 3: title: command not found
./build/mirai/Start.Server.cmd: line 8: fg: no job control
./build/mirai/Start.Server.cmd: line 11: syntax error near unexpected token (' ./build/mirai/Start.Server.cmd: line 11:
if %EL% NEQ 0 ('
[root@VM-0-11-centos Lapis-main]# ./build/mirai/Start.Server.sh
Error: Could not find or load main class net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.