File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed
Expand file tree Collapse file tree 2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 6666 <artifactId >vaadin-core</artifactId >
6767 <scope >test</scope >
6868 </dependency >
69+
70+ <dependency >
71+ <groupId >com.vaadin</groupId >
72+ <artifactId >vaadin-spring-boot-starter</artifactId >
73+ <!-- version>24.3.0</!version-->
74+ <scope >test</scope >
75+ </dependency >
6976
7077 <dependency >
7178 <groupId >com.vaadin</groupId >
8289 <dependency >
8390 <groupId >jakarta.servlet</groupId >
8491 <artifactId >jakarta.servlet-api</artifactId >
85- <version >6.1.0</version >
92+ <!-- version>6.1.0</! version-- >
8693 <scope >provided</scope >
8794 </dependency >
8895 <dependency >
132139 <artifactId >formatter-maven-plugin</artifactId >
133140 <version >2.12.2</version >
134141 </plugin >
142+ <plugin >
143+ <groupId >org.springframework.boot</groupId >
144+ <artifactId >spring-boot-maven-plugin</artifactId >
145+ <!-- version>3.2.0</version-->
146+ </plugin >
135147 <plugin >
136148 <groupId >org.apache.maven.plugins</groupId >
137149 <artifactId >maven-jar-plugin</artifactId >
340352 </profile >
341353 </profiles >
342354</project >
343-
Original file line number Diff line number Diff line change 1+ package firitin ;
2+ import java .util .Collections ;
3+
4+ import org .springframework .boot .SpringApplication ;
5+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
6+
7+ // This annotation tells Spring to start up and look for Views and AppShell
8+ @ SpringBootApplication
9+ public class TestRunner {
10+
11+ public static void main (String [] args ) {
12+ // This launches the web server on localhost:9998
13+ SpringApplication app = new SpringApplication (TestRunner .class );
14+
15+ // Force port 9998
16+ app .setDefaultProperties (Collections .singletonMap ("server.port" , "9998" ));
17+
18+ app .run (args );
19+
20+ System .out .println ("----------------------------------------------" );
21+ System .out .println (" Test Server Running at http://localhost:9998" );
22+ System .out .println ("----------------------------------------------" );
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments