<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ru.bot</groupId>
<artifactId>prnoBot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>prnoBot</name>
<description>prnoBot</description>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.6.2.Final</version>
</dependency>
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-spring-boot-starter</artifactId>
<version>5.6.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<mainClass>ru.bot.prnobot.PrnoBotApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
2021-12-19T10:46:29.532182+00:00 app[web.1]: no main manifest attribute, in target/untitled-1.0-SNAPSHOT.jar
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<archive>
<manifest>
<mainClass>org.example.bot.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
2021-12-19T10:12:23.239377+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=43729 $JAVA_OPTS -jar target/untitled-1.0-SNAPSHOT.jar`
2021-12-19T10:12:24.376631+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2021-12-19T10:12:24.393671+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2021-12-19T10:12:24.396921+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -XX:+UseContainerSupport -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2021-12-19T10:12:24.451945+00:00 app[web.1]: no main manifest attribute, in target/untitled-1.0-SNAPSHOT.jar
2021-12-19T10:12:24.587304+00:00 heroku[web.1]: Process exited with status 1
2021-12-19T10:12:24.883530+00:00 heroku[web.1]: State changed from starting to crashed
2021-12-19T10:12:24.886577+00:00 heroku[web.1]: State changed from crashed to starting
2021-12-19T10:12:27.721341+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=19033 $JAVA_OPTS -jar target/untitled-1.0-SNAPSHOT.jar`
2021-12-19T10:12:28.661991+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile
2021-12-19T10:12:28.676866+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2021-12-19T10:12:28.680446+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -XX:+UseContainerSupport -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2021-12-19T10:12:28.733847+00:00 app[web.1]: no main manifest attribute, in target/untitled-1.0-SNAPSHOT.jar
2021-12-19T10:12:28.867324+00:00 heroku[web.1]: Process exited with status 1
2021-12-19T10:12:30.785906+00:00 heroku[web.1]: State changed from starting to crashed
2021-12-19T10:13:10.087796+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=testtgbot1.herokuapp.com request_id=43896c1f-a983-4722-ab86-f95f0389e2de fwd="93.81.221.81" dyno= connect= service= status=503 bytes= protocol=https
2021-12-19T10:13:10.568913+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=testtgbot1.herokuapp.com request_id=f1663e28-f1df-4919-b854-fd89e3ae3d3f fwd="93.81.221.81" dyno= connect= service= status=503 bytes= protocol=https
Скорее первый экспириенс с jar файлом)