title: Error when started Spring-boot, I think it's some missing dependency
body: <p>
  > INFO 9346 --- [           main] b.c.checkin.checkin.CheckinApplication</p>
  
  <blockquote>
    <p>: Starting CheckinApplication v0.0.1-SNAPSHOT on
    MacBook-Air-de-Thomaz.local with PID 9346
    (/Users/thomaz/Documents/Unitri/6Periodo/GestaoDaInovacao/checkin-api/target/checkin-0.0.1-SNAPSHOT.jar
    started by thomaz in
    /Users/thomaz/Documents/Unitri/6Periodo/GestaoDaInovacao/checkin-api)
    2017-09-02 15:02:57.996  INFO 9346 --- [           main]
    b.c.checkin.checkin.CheckinApplication   : No active profile set,
    falling back to default profiles: default 2017-09-02 15:02:58.146 
    INFO 9346 --- [           main]
    ationConfigEmbeddedWebApplicationContext : Refreshing
    org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@41906a77:
    startup date [Sat Sep 02 15:02:58 BRT 2017]; root of context hierarchy
    2017-09-02 15:02:58.284  INFO 9346 --- [pool-1-thread-1]
    org.hibernate.validator.util.Version     : Hibernate Validator
    4.1.0.Final 2017-09-02 15:02:58.299  INFO 9346 --- [pool-1-thread-1] o.h.v.e.r.DefaultTraversableResolver     : Instantiated an instance of
    org.hibernate.validator.engine.resolver.JPATraversableResolver.
    2017-09-02 15:02:59.748  WARN 9346 --- [           main]
    ationConfigEmbeddedWebApplicationContext : Exception encountered
    during context initialization - cancelling refresh attempt:
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed
    to process import candidates for configuration class
    [br.com.checkin.checkin.CheckinApplication]; nested exception is
    java.lang.IllegalStateException: Could not evaluate condition on
    org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletConfiguration
    due to
    org/springframework/boot/context/embedded/ServletRegistrationBean not
    found. Make sure your own configuration does not rely on that class.
    This can also happen if you are @ComponentScanning a springframework
    package (e.g. if you put a @ComponentScan in the default package by
    mistake) 2017-09-02 15:02:59.755  INFO 9346 --- [           main]
    utoConfigurationReportLoggingInitializer : </p>
    
    <p>Error starting ApplicationContext. To display the auto-configuration
    report enable debug logging (start with --debug)</p>
    
    <p>2017-09-02 15:02:59.772 ERROR 9346 --- [           main]
    o.s.boot.SpringApplication               : Application startup failed</p>
    
    <p>org.springframework.beans.factory.BeanDefinitionStoreException: Failed
    to process import candidates for configuration class
    [br.com.checkin.checkin.CheckinApplication]; nested exception is
    java.lang.IllegalStateException: Could not evaluate condition on
    org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletConfiguration
    due to
    org/springframework/boot/context/embedded/ServletRegistrationBean not
    found. Make sure your own configuration does not rely on that class.
    This can also happen if you are @ComponentScanning a springframework
    package (e.g. if you put a @ComponentScan in the default package by
    mistake)  at
    org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:616)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:548)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:270)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    ~[spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]  at
    org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
    [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]   at
    org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
    [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]   at
    org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
    [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]   at
    org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
    [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]   at
    org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
    [spring-boot-1.5.6.RELEASE.jar!/:1.5.6.RELEASE]   at
    br.com.checkin.checkin.CheckinApplication.main(CheckinApplication.java:11)
    [classes!/:0.0.1-SNAPSHOT]    at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ~[na:1.8.0_111]   at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    ~[na:1.8.0_111]   at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    ~[na:1.8.0_111]   at java.lang.reflect.Method.invoke(Method.java:498)
    ~[na:1.8.0_111]   at
    org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
    [checkin-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]   at
    org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
    [checkin-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]   at
    org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
    [checkin-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]   at
    org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
    [checkin-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] Caused by:
    java.lang.IllegalStateException: Could not evaluate condition on
    org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletConfiguration
    due to
    org/springframework/boot/context/embedded/ServletRegistrationBean not
    found. Make sure your own configuration does not rely on that class.
    This can also happen if you are @ComponentScanning a springframework
    package (e.g. if you put a @ComponentScan in the default package by
    mistake)  at
    org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55)
    ~[spring-boot-autoconfigure-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]    at
    org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:217)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.processMemberClasses(ConfigurationClassParser.java:349)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:264)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:245)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     at
    org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:606)
    ~[spring-context-4.3.10.RELEASE.jar!/:4.3.10.RELEASE]     ... 23 common
    frames omitted Caused by: java.lang.NoClassDefFoundError:
    org/springframework/boot/context/embedded/ServletRegistrationBean     at
    org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DefaultDispatcherServletCondition.checkServletRegistrations(DispatcherServletAutoConfiguration.java:166)
    ~[spring-boot-autoconfigure-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]    at
    org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DefaultDispatcherServletCondition.getMatchOutcome(DispatcherServletAutoConfiguration.java:135)
    ~[spring-boot-autoconfigure-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]    at
    org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)
    ~[spring-boot-autoconfigure-1.3.1.RELEASE.jar!/:1.3.1.RELEASE]    ... 29
    common frames omitted Caused by: java.lang.ClassNotFoundException:
    org.springframework.boot.context.embedded.ServletRegistrationBean     at
    java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    ~[na:1.8.0_111]   at
    java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_111]
      at
    org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94)
    ~[checkin-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]  at
    java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_111]
      ... 32 common frames omitted</p>
  </blockquote>
  
  <p>pom.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;br.com.checkin&lt;/groupId&gt;
      &lt;artifactId&gt;checkin&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;checkin&lt;/name&gt;
      &lt;description&gt;checkin project for college's event.&lt;/description&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;1.5.6.RELEASE&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.35&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
              &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-validator&lt;/artifactId&gt;
              &lt;version&gt;4.1.0.Final&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;4.3.10.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-autoconfigure&lt;/artifactId&gt;
              &lt;version&gt;1.3.1.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.4.0.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I do not know what to do. Thanks for answer me. I'm sorry for English, I'm from Brazil.</p>