Здравствуйте, подскажите пожалуйста как решить проблему, после перезагрузки началось такое, не загружаются все пользователи и не могу зайти в аккаунт
Directory of C:\BlynkServer
C:\BlynkServer>echo Server latest version on folder is server-0.33.5-java8.jar
Server latest version on folder is server-0.33.5-java8.jar
C:\BlynkServer>java -jar server-0.33.5-java8.jar -dataFolder C:/BlynkServer/path
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Blynk Server 0.34.0-SNAPSHOT successfully started.
All server output is stored in folder ‘C:\BlynkServer.\logs’ file.
Why do you have so many versions of the server.jar file on your system?
What command are you using to launch the server?
You’d normally launch the server with a batch file called start-blynk.bat and the contents of that batch file would normally include full server .jar file name (with version number in the file name) and a switch to tell it the location of the data file.
Also, you really ought to be running version 0.41.17 of local server.
Здравствуйте, после установки версии которую вы указали, я пробовал разные версии, пробовал оставить один файл в папке blynkserver, в любой версии выводится ошибка.
echo off
echo **************************
echo Starting Blynk Server
echo Script created by
echo Waleed El-Badry
echo waleed.elbadry@must.edu.eg
echo **************************
echo Your working directory is %~dp0
echo **************************
set ip_address_string="IP Address"
rem Uncomment the following line when using Windows 7 or Windows 8 / 8.1 (with removing "rem")!
set ip_address_string="IPv4 Address"
echo **************************
for /f "usebackq tokens=2 delims=:" %%f in (`ipconfig ^| findstr /c:%ip_address_string%`) do (
echo Local Server IP Address is: %%f
echo Hardware Port : 8442
echo Application Port : 8443
)
echo **************************
cd /D %~dp0
echo Available server files
dir *.jar
@echo off
for /f "delims=" %%x in ('dir /od /b server*.jar') do set latestjar=%%x
@echo on
echo Server latest version on folder is %latestjar%
java -jar %latestjar% -dataFolder C:/BlynkServer/path
IF /I "%ERRORLEVEL%" NEQ "0" (
ECHO Server failed to started
)
@Elman Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your batch file script so that it displays correctly.
Triple backticks look like this:
```
Copy and paste these if you can’t find the correct symbol on your keyboard.