Thingsboard Windows安装错误

当我在Windows 7计算机上运行install.bat文件时。我收到以下错误:


正在检测安装的Java版本。检测是否为64位计算机CurrentVersion检测是否为32位计算机CurrentVersion 1.8找到Java 1.8!正在安装Thingsboard ...错误:无法找到或加载主类Files \ thingsboard \ lib \ thingsboard.jar ThingsBoard安装失败!


我以为是错误地读取了BASE文件目录。所以我将它移到了绝对目录位置,如下所示:


SET BASE="C:\Program Files\thingsboard"

SET LOADER_PATH=%BASE%\conf,%BASE%\extensions

SET SQL_DATA_FOLDER=%BASE%\data\sql

SET jarfile=%BASE%\lib\thingsboard.jar

SET installDir=%BASE%\data

我收到以下错误:

正在检测安装的Java版本。检测是否为64位计算机CurrentVersion检测是否为32位计算机CurrentVersion 1.8找到Java 1.8!正在安装记事簿...记录系统无法使用来自'C:\ Program Files \ thingsboard \ install \ logback.xml'的配置初始化java.lang.IllegalStateException:检测到登录配置错误:ch.qos.logback.core.rolling中出现错误.RollingFileAppender [fileLogAppender]-无法为ch.qos.logback.core.rolling中的[C:\ Program Files \ thingsboard \ conf \“ C:\ Program Files \ thingsboard” \ logs \ install.log]创建父目录错误.RollingFileAppender [fileLogAppender]-openFile(“ C:\ Program Files \ thingsboard” \ logs /install.log,true)调用失败。java.io.FileNotFoundException:“ C:\ Program Files \ thingsboard” \ logs \ install。87)在org.springframework.boot.loader.Launcher.launch(Launcher.java:50)在org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:521)java.lang.IllegalStateException:检测到回退配置错误:ch.qos.logback.core.rolling.RollingFileAppender [fileLogAppender]中出现错误-无法为[C:\ Program Files \ thingsboard \ conf \“ C:\ Program Files \ thingsboard” \ logs \ install.log创建父目录ch.qos.logback.core.rolling.RollingFileAppender [fileLogAppender]中的错误-openFile(“ C:\ Program Files \ thingsboard” \ logs /install.log,true)调用失败。java.io.FileNotFoundException:“ C:\ Program Files \ thingsboard” \ logs \ install.log(文件名,目录名或卷标语法不正确)ThingsBoard安装失败!


慕斯王
浏览 771回答 2
2回答

德玛西亚99

当我收到此错误时,我使用来运行命令,Run as Administrator问题就解决了。如果您收到相同的结果:安装JRE删除安装目录中的空间运行命令 Run as Administrator
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java