Skip to content

Commit

Permalink
fix : remove plain jar file, add user.html
Browse files Browse the repository at this point in the history
resolve "no main manifest attribute" error
  • Loading branch information
nonaninona committed Jan 1, 2024
1 parent 583716f commit ff22846
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 6 deletions.
Binary file modified .gradle/8.5/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ tasks.named('test') {

bootJar {
enabled = true
archiveFileName = 'char-diary-app-0.0.1-SNAPSHOT.jar'
}

jar {
enabled = false
}
Binary file not shown.
Binary file removed build/libs/chatdiary-0.0.1-SNAPSHOT-plain.jar
Binary file not shown.
7 changes: 2 additions & 5 deletions build/tmp/bootJar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
Manifest-Version: 1.0
Main-Class: org.springframework.boot.loader.launch.JarLauncher
Main-Class: org.springframework.boot.loader.JarLauncher
Start-Class: com.kuit.chatdiary.ChatdiaryApplication
Spring-Boot-Version: 3.2.1
Spring-Boot-Version: 2.5.5
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx
Spring-Boot-Layers-Index: BOOT-INF/layers.idx
Build-Jdk-Spec: 17
Implementation-Title: chatdiary
Implementation-Version: 0.0.1-SNAPSHOT

Binary file modified build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
10 changes: 10 additions & 0 deletions src/main/resources/static/user.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
hello user
</body>
</html>

0 comments on commit ff22846

Please sign in to comment.