** Страница ошибки Whitelabel Это приложение не имеет явного сопоставления для / error, поэтому вы видите это как запасной вариант. Вт. Июнь 30 17:24:02 CST 2015 Произошла непредвиденная ошибка (тип = Не найдено, статус = 404). Нет доступных сообщений, и мой пакет находится в указанном hirarchy. Что я должен сделать для этого **
вот myscreen снимки
2020-03-21 11:01:58.674 INFO 14840 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2020-03-21 11:01:58.676 INFO 14840 --- [ main] c.r.f.FlightcheckinApplication : Started FlightcheckinApplication in 1.554 seconds (JVM running for 2.246)
2020-03-21 11:02:02.241 INFO 14840 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-03-21 11:02:02.241 INFO 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2020-03-21 11:02:02.242 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Detected StandardServletMultipartResolver
2020-03-21 11:02:02.249 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data
2020-03-21 11:02:02.249 INFO 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 7 ms
2020-03-21 11:02:02.262 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : GET "/showStartCheckin", parameters={}
2020-03-21 11:02:02.268 DEBUG 14840 --- [nio-8080-exec-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.rohit.flightcheckin.Controller.CheckInController#ShowStartChckin()
2020-03-21 11:02:02.309 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.9, */*;q=0.8]
2020-03-21 11:02:02.309 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.servlet.view.InternalResourceView : View name 'index', model {id=com.rohit.flightcheckin.integration.dto.Reservation@21d97096, org.springframework.validation.BindingResult.id=org.springframework.validation.BeanPropertyBindingResult: 0 errors}
2020-03-21 11:02:02.312 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.servlet.view.InternalResourceView : Forwarding to [index]
2020-03-21 11:02:02.317 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : "FORWARD" dispatch for GET "/index", parameters={}
2020-03-21 11:02:02.323 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped to ResourceHttpRequestHandler ["classpath:/templates/", "classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/", "/"]
2020-03-21 11:02:02.326 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.s.r.ResourceHttpRequestHandler : Resource not found
2020-03-21 11:02:02.327 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Exiting from "FORWARD" dispatch, status 404
2020-03-21 11:02:02.329 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed 404 NOT_FOUND
2020-03-21 11:02:02.330 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : "ERROR" dispatch for GET "/error", parameters={}
2020-03-21 11:02:02.331 DEBUG 14840 --- [nio-8080-exec-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse)
2020-03-21 11:02:02.346 DEBUG 14840 --- [nio-8080-exec-1] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html, text/html;q=0.8]
2020-03-21 11:02:02.355 DEBUG 14840 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Exiting from "ERROR" dispatch, status 404
вот мой основной класс
package com.rohit.flightcheckin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
public class FlightcheckinApplication {
public static void main(String[] args) {
SpringApplication.run(FlightcheckinApplication.class, args);
}
}