[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< com.example:backend >-------------------------
[INFO] Building backend 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> spring-boot:3.5.0:run (default-cli) > test-compile @ backend >>>
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ backend ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.14.0:compile (default-compile) @ backend ---
[INFO] Recompiling the module because of added or removed source files.
[INFO] Compiling 21 source files with javac [debug parameters release 17] to target/classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ backend ---
[INFO] skip non existing resourceDirectory /Users/sidharth/development/Positeasy clone/backend/src/test/resources
[INFO] 
[INFO] --- compiler:3.14.0:testCompile (default-testCompile) @ backend ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 1 source file with javac [debug parameters release 17] to target/test-classes
[INFO] 
[INFO] <<< spring-boot:3.5.0:run (default-cli) < test-compile @ backend <<<
[INFO] 
[INFO] 
[INFO] --- spring-boot:3.5.0:run (default-cli) @ backend ---
[INFO] Attaching agents: []

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.5.0)

2026-04-07T19:05:00.341+05:30  INFO 10378 --- [backend] [           main] c.rit.canteen.sales.BackendApplication   : Starting BackendApplication using Java 17.0.18 with PID 10378 (/Users/sidharth/development/Positeasy clone/backend/target/classes started by sidharth in /Users/sidharth/development/Positeasy clone/backend)
2026-04-07T19:05:00.342+05:30  INFO 10378 --- [backend] [           main] c.rit.canteen.sales.BackendApplication   : No active profile set, falling back to 1 default profile: "default"
2026-04-07T19:05:00.576+05:30  INFO 10378 --- [backend] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-04-07T19:05:00.602+05:30  INFO 10378 --- [backend] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 3 JPA repository interfaces.
2026-04-07T19:05:00.781+05:30  INFO 10378 --- [backend] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8080 (http)
2026-04-07T19:05:00.787+05:30  INFO 10378 --- [backend] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-04-07T19:05:00.787+05:30  INFO 10378 --- [backend] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.41]
2026-04-07T19:05:00.810+05:30  INFO 10378 --- [backend] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2026-04-07T19:05:00.810+05:30  INFO 10378 --- [backend] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 453 ms
2026-04-07T19:05:00.870+05:30  INFO 10378 --- [backend] [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-04-07T19:05:00.890+05:30  INFO 10378 --- [backend] [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.15.Final
2026-04-07T19:05:00.901+05:30  INFO 10378 --- [backend] [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-04-07T19:05:00.989+05:30  INFO 10378 --- [backend] [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-04-07T19:05:01.000+05:30  INFO 10378 --- [backend] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2026-04-07T19:05:01.067+05:30  INFO 10378 --- [backend] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@108b121f
2026-04-07T19:05:01.067+05:30  INFO 10378 --- [backend] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2026-04-07T19:05:01.083+05:30  WARN 10378 --- [backend] [           main] org.hibernate.orm.deprecation            : HHH90000025: PostgreSQLDialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-04-07T19:05:01.089+05:30  INFO 10378 --- [backend] [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
	Database driver: undefined/unknown
	Database version: 18.1
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-04-07T19:05:01.398+05:30  INFO 10378 --- [backend] [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-04-07T19:05:01.487+05:30  INFO 10378 --- [backend] [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-04-07T19:05:01.614+05:30  WARN 10378 --- [backend] [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2026-04-07T19:05:01.779+05:30  INFO 10378 --- [backend] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8080 (http) with context path '/'
2026-04-07T19:05:01.783+05:30  INFO 10378 --- [backend] [           main] c.rit.canteen.sales.BackendApplication   : Started BackendApplication in 1.584 seconds (process running for 1.69)
Hibernate: select count(*) from base_items bi1_0
Hibernate: select count(*) from products p1_0
2026-04-07T19:06:48.144+05:30  INFO 10378 --- [backend] [0.0-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-04-07T19:06:48.146+05:30  INFO 10378 --- [backend] [0.0-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2026-04-07T19:06:48.147+05:30  INFO 10378 --- [backend] [0.0-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0 where p1_0.id=?
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: update products set active=?,attributes_optional=?,barcode=?,base_price=?,category=?,counter=?,description=?,discount_amount=?,discount_percent=?,has_allergy=?,image_data=?,is_veg=?,name=?,offer_price=?,parcel_charges=?,parcel_not_allowed=?,price=?,product_id=?,session_optional=?,stock=?,tag=? where id=?
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select p1_0.id,p1_0.active,p1_0.attributes_optional,p1_0.barcode,p1_0.base_price,p1_0.category,p1_0.counter,p1_0.description,p1_0.discount_amount,p1_0.discount_percent,p1_0.has_allergy,p1_0.image_data,p1_0.is_veg,p1_0.name,p1_0.offer_price,p1_0.parcel_charges,p1_0.parcel_not_allowed,p1_0.price,p1_0.product_id,p1_0.session_optional,p1_0.stock,p1_0.tag from products p1_0
Hibernate: select s1_0.product_id,s1_0.id,s1_0.active,s1_0.day_of_week,s1_0.end_time,s1_0.start_time from product_sessions s1_0 where s1_0.product_id=?
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
Hibernate: select bi1_0.id,bi1_0.active,bi1_0.description,bi1_0.name from base_items bi1_0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  08:44 min
[INFO] Finished at: 2026-04-07T19:13:43+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.5.0:run (default-cli) on project backend: Process terminated with exit code: 137 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
