Форум программистов, компьютерный форум, киберфорум
Java: Spring, Spring Boot
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 5.00/5: Рейтинг темы: голосов - 5, средняя оценка - 5.00
3 / 3 / 0
Регистрация: 22.10.2021
Сообщений: 217

Spring Boot Heroku deploy ОШИБКА

05.05.2022, 16:03. Показов 1136. Ответов 2
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Мое приложение SpringBoot (телеграмбот) отлично работает на локалке (IDEA+pgadmin).
heroku login
git add .
git commit -am "last successful"
git push heroku master
выдает:
remote: BUILD SUCCESSFUL in 13s
remote: 5 actionable tasks: 5 executed
remote: -----> Discovering process types
remote: Procfile declares types -> (none)
remote: Default types for buildpack -> web
remote:
remote: -----> Compressing...
remote: Done: 93.7M
remote: -----> Launching...
remote: Released v13
remote: https://mybot.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/mybot.git
977fd64..e27f748 master -> master
мой файл build.gradle
Кликните здесь для просмотра всего текста
plugins {
id 'org.springframework.boot' version '2.6.7'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id "com.moowork.node" version "1.3.1"
}

jar {
manifest {
attributes 'Main-Class': 'net.work.bsb.BestSellerBotApplication'
}
}

group = 'net.work'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}


repositories {
mavenCentral()
}

node {
download = true
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresqlostgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation group: 'org.telegram', name: 'telegrambots', version: '6.0.1'
}

tasks.named('test') {
useJUnitPlatform()
}


heroku logs:

Кликните здесь для просмотра всего текста
2022-05-05T01:25:37.171447+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T01:25:43.000000+00:00 app[api]: Build succeeded
2022-05-05T01:26:13.806717+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=01
244f8e-9a84-4067-b31b-23f0c11c8be1 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T01:26:14.244149+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com re
quest_id=39100462-1b72-4f26-b4de-f3f07a85d0cf fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T02:43:58.337242+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T02:44:02.481135+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=30765 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T02:44:03.383487+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T02:44:03.403976+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T02:44:03.408100+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T02:44:03.473416+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T02:44:03.473484+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T02:44:03.473537+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T02:44:03.473574+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T02:44:03.473601+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T02:44:03.473633+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T02:44:03.473658+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T02:44:03.473689+00:00 app[web.1]: ... 1 more
2022-05-05T02:44:03.597630+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T02:44:03.855599+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T04:20:30.721461+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T04:20:35.928539+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=52701 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T04:20:37.021611+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T04:20:37.051318+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T04:20:37.056324+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T04:20:37.136190+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T04:20:37.136287+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T04:20:37.136384+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T04:20:37.136432+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T04:20:37.136480+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T04:20:37.136513+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T04:20:37.136553+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T04:20:37.136587+00:00 app[web.1]: ... 1 more
2022-05-05T04:20:37.273219+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T04:20:37.391730+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T07:52:15.399079+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T07:52:19.631948+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=44944 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T07:52:20.589154+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T07:52:20.608645+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T07:52:20.612785+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T07:52:20.686348+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T07:52:20.686466+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T07:52:20.686565+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T07:52:20.686620+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T07:52:20.686678+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T07:52:20.686730+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T07:52:20.686784+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T07:52:20.686841+00:00 app[web.1]: ... 1 more
2022-05-05T07:52:20.824630+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T07:52:20.915760+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T11:15:36.259327+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T11:15:41.666709+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=38996 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T11:15:43.236278+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T11:15:43.262887+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T11:15:43.268679+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T11:15:43.325467+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T11:15:43.325581+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T11:15:43.325667+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T11:15:43.325708+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T11:15:43.325742+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T11:15:43.325780+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T11:15:43.325811+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T11:15:43.325848+00:00 app[web.1]: ... 1 more
2022-05-05T11:15:43.474583+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T11:15:43.581509+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:47:44.000000+00:00 app[api]: Build started by user mymail@gmail.com
2022-05-05T12:48:15.203475+00:00 app[api]: Release v13 created by user mymail@gmail.com
2022-05-05T12:48:15.203475+00:00 app[api]: Deploy e27f7482 by user mymail@gmail.com
2022-05-05T12:48:16.361594+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T12:48:19.640700+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=42600 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T12:48:20.492204+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T12:48:20.514158+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T12:48:20.518741+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T12:48:20.586189+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T12:48:20.586387+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T12:48:20.586387+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T12:48:20.586388+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T12:48:20.586396+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T12:48:20.586443+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T12:48:20.586468+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T12:48:20.586498+00:00 app[web.1]: ... 1 more
2022-05-05T12:48:20.718146+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T12:48:20.811020+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:48:20.828617+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T12:48:24.235675+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=31822 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T12:48:25.186188+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T12:48:25.214753+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T12:48:25.223570+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T12:48:25.290498+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T12:48:25.290574+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T12:48:25.290629+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T12:48:25.290663+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T12:48:25.290693+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T12:48:25.290728+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T12:48:25.290760+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T12:48:25.290792+00:00 app[web.1]: ... 1 more
2022-05-05T12:48:25.461075+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T12:48:25.749556+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:48:27.000000+00:00 app[api]: Build succeeded
2022-05-05T12:49:26.017119+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=97
0c31f5-75b2-487b-b358-3967393d4832 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T12:49:26.347963+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com re
quest_id=24135cf7-ea24-4c09-8307-d927de608867 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https


не могу вообще понять суть притензии, типо main класс найти не может? но ведь я указал его в gradle!
manifest {
attributes 'Main-Class': 'net.work.bsb.BestSellerBotApplication'
}
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
05.05.2022, 16:03
Ответы с готовыми решениями:

Deploy Spring boot app
Добрый день. Интересуют такой вопрос: Tomcat нужен на сервере или нет? Читал разные источники, одни пишут что нужен, вторые пишут,...

Spring boot rest heroku
Добрый день. Я новичок и заранее извиняюсь, если вопрос покажется глупым В общем, я написал spring boot приложение с базой данных...

Принцип деплоя вебприложения (Spring Boot + React + MySQL) на Heroku
Доброго дня. На Heroku нашел руководства, как деплоить серверную часть (например Deploying Spring Boot Applications to Heroku). Однако...

2
Эксперт Java
3639 / 2971 / 918
Регистрация: 05.07.2013
Сообщений: 14,220
05.05.2022, 16:13
implementation 'org.springframework.boot:spring-boot-starter'
0
3 / 3 / 0
Регистрация: 22.10.2021
Сообщений: 217
05.05.2022, 16:37  [ТС]
Вот aplicationlog с самого сайта heroku:
Application Logs
2022-05-05T12:48:25.290498+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T12:48:25.290574+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T12:48:25.290629+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T12:48:25.290663+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T12:48:25.290693+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T12:48:25.290728+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T12:48:25.290760+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T12:48:25.290792+00:00 app[web.1]: ... 1 more
2022-05-05T12:48:25.461075+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T12:48:25.749556+00:00 heroku[web.1]: State changed from starting to crashed
Добавлено через 1 минуту
Цитата Сообщение от xoraxax Посмотреть сообщение
implementation 'org.springframework.boot:spring-boot-starter'
ща затестим

Добавлено через 6 минут
нет друг, вес то же самое почти:

логи с сайта heroku
Кликните здесь для просмотра всего текста
2022-05-05T13:23:45.000000+00:00 app[api]: Build succeeded
2022-05-05T13:24:36.102971+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=56d0ecb3-24e3-49c8-861e-ec406295fd9a fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T13:24:36.486231+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com request_id=2cc4f872-e9fa-4aa9-ab40-cdfaa9ca17df fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https


логи с консоли heroku logs
Кликните здесь для просмотра всего текста
2022-05-05T07:52:20.612785+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T07:52:20.686348+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T07:52:20.686466+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T07:52:20.686565+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T07:52:20.686620+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T07:52:20.686678+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T07:52:20.686730+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T07:52:20.686784+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T07:52:20.686841+00:00 app[web.1]: ... 1 more
2022-05-05T07:52:20.824630+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T07:52:20.915760+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T11:15:36.259327+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T11:15:41.666709+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=38996 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T11:15:43.236278+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T11:15:43.262887+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T11:15:43.268679+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T11:15:43.325467+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T11:15:43.325581+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T11:15:43.325667+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T11:15:43.325708+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T11:15:43.325742+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T11:15:43.325780+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T11:15:43.325811+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T11:15:43.325848+00:00 app[web.1]: ... 1 more
2022-05-05T11:15:43.474583+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T11:15:43.581509+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:47:44.000000+00:00 app[api]: Build started by user kostapoads@gmail.com
2022-05-05T12:48:15.203475+00:00 app[api]: Release v13 created by user kostapoads@gmail.com
2022-05-05T12:48:15.203475+00:00 app[api]: Deploy e27f7482 by user kostapoads@gmail.com
2022-05-05T12:48:16.361594+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T12:48:19.640700+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=42600 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T12:48:20.492204+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T12:48:20.514158+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T12:48:20.518741+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T12:48:20.586189+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T12:48:20.586387+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T12:48:20.586387+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T12:48:20.586388+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T12:48:20.586396+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T12:48:20.586443+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T12:48:20.586468+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T12:48:20.586498+00:00 app[web.1]: ... 1 more
2022-05-05T12:48:20.718146+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T12:48:20.811020+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:48:20.828617+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T12:48:24.235675+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=31822 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T12:48:25.186188+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T12:48:25.214753+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T12:48:25.223570+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T12:48:25.290498+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T12:48:25.290574+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T12:48:25.290629+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T12:48:25.290663+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T12:48:25.290693+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T12:48:25.290728+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T12:48:25.290760+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T12:48:25.290792+00:00 app[web.1]: ... 1 more
2022-05-05T12:48:25.461075+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T12:48:25.749556+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T12:48:27.000000+00:00 app[api]: Build succeeded
2022-05-05T12:49:26.017119+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=97
0c31f5-75b2-487b-b358-3967393d4832 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T12:49:26.347963+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com re
quest_id=24135cf7-ea24-4c09-8307-d927de608867 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T13:23:00.000000+00:00 app[api]: Build started by user mymail@gmail.com
2022-05-05T13:23:31.776209+00:00 app[api]: Deploy 4c1ae7f1 by user mymail@gmail.com
2022-05-05T13:23:31.776209+00:00 app[api]: Release v14 created by user mymail@gmail.com
2022-05-05T13:23:33.060343+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T13:23:36.338027+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=17841 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T13:23:37.617400+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T13:23:37.637179+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T13:23:37.641505+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T13:23:37.693545+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T13:23:37.693622+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T13:23:37.693673+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T13:23:37.693705+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T13:23:37.693734+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T13:23:37.693765+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T13:23:37.693801+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T13:23:37.693831+00:00 app[web.1]: ... 1 more
2022-05-05T13:23:37.808802+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T13:23:38.202150+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T13:23:38.231979+00:00 heroku[web.1]: State changed from crashed to starting
2022-05-05T13:23:42.142705+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=38215 $JAVA_OPTS -jar build/libs/*.jar`
2022-05-05T13:23:43.357794+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/
procfile
2022-05-05T13:23:43.379804+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T13:23:43.387901+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T13:23:43.480702+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T13:23:43.481213+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T13:23:43.481314+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T13:23:43.481315+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T13:23:43.481336+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T13:23:43.481411+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T13:23:43.481414+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T13:23:43.481415+00:00 app[web.1]: ... 1 more
2022-05-05T13:23:43.614631+00:00 heroku[web.1]: Process exited with status 1
2022-05-05T13:23:43.922331+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T13:23:45.000000+00:00 app[api]: Build succeeded
2022-05-05T13:24:01.568143+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=af
ff6345-1035-43bb-9e9b-a751f6a09985 fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T13:24:01.974146+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com re
quest_id=3d03172c-df00-482a-a1f3-c2bdad2f4d3b fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T13:24:36.102971+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=bestsellerbot.herokuapp.com request_id=56
d0ecb3-24e3-49c8-861e-ec406295fd9a fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https
2022-05-05T13:24:36.486231+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=bestsellerbot.herokuapp.com re
quest_id=2cc4f872-e9fa-4aa9-ab40-cdfaa9ca17df fwd="188.227.11.179" dyno= connect= service= status=503 bytes= protocol=https


Добавлено через 8 минут
2022-05-05T13:35:35.275886+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-05T13:35:35.011343+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2022-05-05T13:35:35.031891+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2022-05-05T13:35:35.036191+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2022-05-05T13:35:35.089529+00:00 app[web.1]: Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
2022-05-05T13:35:35.089595+00:00 app[web.1]: at net.work.bsb.BestSellerBotApplication.ma in(BestSellerBotApplication.java:10)
2022-05-05T13:35:35.089650+00:00 app[web.1]: Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplicati on
2022-05-05T13:35:35.089679+00:00 app[web.1]: at java.net.URLClassLoader.findClass(URLCla ssLoader.java:387)
2022-05-05T13:35:35.089707+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:418)
2022-05-05T13:35:35.089737+00:00 app[web.1]: at sun.misc.Launcher$AppClassLoader.loadCla ss(Launcher.java:352)
2022-05-05T13:35:35.089760+00:00 app[web.1]: at java.lang.ClassLoader.loadClass(ClassLoa der.java:351)
2022-05-05T13:35:35.089784+00:00 app[web.1]: ... 1 more
2022-05-05T13:35:35.210925+00:00 heroku[web.1]: Process exited with status 1
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
05.05.2022, 16:37
Помогаю со студенческими работами здесь

Ошибка в приложении Spring Boot
Доброго времени суток. Возникла проблема со Spring Boot, пытаюсь запустить тест, пишет что не найден пакет...

Spring Boot и чайник. Ошибка зависимости при создании бина
Приветствую, уважаемые форумчане. Начала осваивать яву буквально пару недель назад, поэтому, прошу понять, простить и помочь)) Пишу в...

Project 'org.springframework.boot:spring-boot-starter-parent:2.3.2.RELEASE' not found
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...

Ошибка при обновлении данных через метод запроса PUT (spring boot)
Пишу Restful API на spring boot Делаю запрос через Postman - лезет ошибка, но иногда данные обновляются, не знаю как это происходит и от...

Spring Boot VS Tomcat+Spring - что выбрать?
Всем доброго дня! Я наверное еще из старой школы - пилю мелкие проект на Spring + Tomcat... Но хотелось бы чего-то нового ))) ...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
3
Ответ Создать тему
Новые блоги и статьи
Ритм жизни
kumehtar 27.02.2026
Иногда приходится жить в ритме, где дел становится всё больше, а вовлечения в происходящее — всё меньше. Плотный график не даёт вниманию закрепиться ни на одном событии. Утро начинается с быстрых,. . .
SDL3 для Web (WebAssembly): Сборка библиотек SDL3 и Box2D из исходников с помощью CMake и Emscripten
8Observer8 27.02.2026
Недавно вышла версия SDL 3. 4. 2 библиотеки SDL3. На странице официальной релиза доступны исходники, готовые DLL (для x86, x64, arm64), а также библиотеки для разработки под Android, MinGW и Visual. . .
SDL3 для Web (WebAssembly): Реализация движения на Box2D v3 - трение и коллизии с повёрнутыми стенами
8Observer8 20.02.2026
Содержание блога Box2D позволяет легко создать главного героя, который не проходит сквозь стены и перемещается с заданным трением о препятствия, которые можно располагать под углом, как верхнее. . .
Конвертировать закладки radiotray-ng в m3u-плейлист
damix 19.02.2026
Это можно сделать скриптом для PowerShell. Использование . \СonvertRadiotrayToM3U. ps1 <path_to_bookmarks. json> Рядом с файлом bookmarks. json появится файл bookmarks. m3u с результатом. # Check if. . .
Семь CDC на одном интерфейсе: 5 U[S]ARTов, 1 CAN и 1 SSI
Eddy_Em 18.02.2026
Постепенно допиливаю свою "многоинтерфейсную плату". Выглядит вот так: https:/ / www. cyberforum. ru/ blog_attachment. php?attachmentid=11617&stc=1&d=1771445347 Основана на STM32F303RBT6. На борту пять. . .
Камера Toupcam IUA500KMA
Eddy_Em 12.02.2026
Т. к. у всяких "хикроботов" слишком уж мелкий пиксель, для подсмотра в ESPriF они вообще плохо годятся: уже 14 величину можно рассмотреть еле-еле лишь на экспозициях под 3 секунды (а то и больше),. . .
И ясному Солнцу
zbw 12.02.2026
И ясному Солнцу, и светлой Луне. В мире покоя нет и люди не могут жить в тишине. А жить им немного лет.
«Знание-Сила»
zbw 12.02.2026
«Знание-Сила» «Время-Деньги» «Деньги -Пуля»
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru