1
resposta

3 erros

Description    Resource    Path    Location    Type
Target runtime Apache Tomcat v7.0 is not defined.    contas        Unknown    Faceted Project Problem

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path    infra-ok.jsp    /contas/WebContent/WEB-INF/views    line 1    JSP Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project    contas        Unknown    

Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files    ConnectionFactory.java    /contas/src/br/com/caelum/contas    line 1    Java Problem
1 resposta

Olá,

Clique com o botão direito do mouse no seu projeto e selecione "Propriedades". Em seguida, selecione "Java Build Path" e a guia Library. Procure por uma JVM. Se não houver uma (link quebrado), clique em "Adicionar biblioteca" e adicione a JVM padrão. Se uma VM estiver lá, selecione-a e clique em "Editar" e selecione novamente a JVM padrão. Isso deve restabelecer esse link e corrigir o problema.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software