Eclipse - Problemas com a biblioteca

13 respostas
eclipsejspjava
C

gente estou utilizando uma funcionalidade do jstl.
<%@ taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c”%>
porém o console o console não está informado o seguinte problema

INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
j

já baixei várias bibliotecas e nada de funcionar o que eu estou querendo.
segue o print das bibliotecas .

e

13 Respostas

J

manda o código.

C

Não estou em casa. Mas o problema não é o código e sim as bibliotecas para utilizar os jstl.

P

Amigo acredito que esta mensagem ai n seja o foco no seu problema,pq aqui no meu console também aparece a mesma mas ocorre tudo bem.Me diga o que você esta querendo fazer que esta dando errado?

C

estou querendo lista os dados do banco em uma tabela.
estou utilizando as tags do jstl que são do jsp.

P

Tente mudar a sua taglib para :

(<%@ taglib uri=‘http://java.sun.com/jstl/core’ prefix=‘c’%>)

C

tenho quase certeza que testei dessa forma. pesquisei muito na web.
Importei a biblioteca e parou de dar o erro, porém não está exibindo a tabela com os dados.
como o tomcat está acusando que está faltando biblioteca creio eu que esse seja o problema de não está listando.

P

Me mostre o console inteiro quando der o erro de listar os dados na tela.

C

quando eu chegar em casa eu posto.

C

jun 08, 2017 4:42:40 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property ‘source’ to ‘org.eclipse.jst.jee.server:ProjetoFinal’ did not find a matching property.
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version: Apache Tomcat/7.0.77
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built: Mar 28 2017 16:01:48 UTC
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number: 7.0.77.0
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name: Windows 7
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version: 6.1
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture: x86
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Java Home: C:\FTC_DEV\jdk8\jre
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version: 1.8.0_73-b02
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor: Oracle Corporation
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE: C:\FTC_DEV\workspace\tpi.metadata.plugins\org.eclipse.wst.server.core\tmp2
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME: C:\apache-tomcat-7.0.77
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\FTC_DEV\workspace\tpi.metadata.plugins\org.eclipse.wst.server.core\tmp2
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\apache-tomcat-7.0.77
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=C:\FTC_DEV\workspace\tpi.metadata.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-7.0.77\endorsed
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252
jun 08, 2017 4:42:40 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\FTC_DEV\jdk8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/FTC_DEV/jdk8/jre/bin/client;C:/FTC_DEV/jdk8/jre/bin;C:/FTC_DEV/jdk8/jre/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Skype\Phone;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\FTC_DEV\eclipse;;.
jun 08, 2017 4:42:40 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler [“http-bio-8080”]
jun 08, 2017 4:42:40 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler [“ajp-bio-8009”]
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 723 ms
jun 08, 2017 4:42:40 PM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
jun 08, 2017 4:42:40 PM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.77
jun 08, 2017 4:42:40 PM org.apache.catalina.startup.TldConfig execute
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
jun 08, 2017 4:42:41 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFORMAÇÕES: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [140] milliseconds.
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.TldConfig execute
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
jun 08, 2017 4:42:41 PM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler [“http-bio-8080”]
jun 08, 2017 4:42:41 PM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler [“ajp-bio-8009”]
jun 08, 2017 4:42:41 PM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 1048 ms
Cadastrado com Sucesso

C

segue meu código html

<%@ taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c”%>

window.onload = function(){
configuraModal("myModal", "myBtn", "closePsi");
  configuraModal("myModalPaciente", "myBtnPaciente", "closePac");
  	
}
    
function configuraModal(idModal, btnModal, idClose){
  var modal = document.getElementById(idModal);
  var btn = document.getElementById(btnModal);
  var span = document.getElementById(idClose);
  
  btn.onclick = function() {
    modal.classList.toggle("show");
  }
  span.onclick = function() {
    modal.classList.toggle("show");
  }
}</script>
Sistema de Atendimento de Psicologia
<section id="login" style="top:20px;">
		<img src="usu.jpg" alt="usuario" >
		

	</section>
	
</section>

<div id="cabecalho-secundario" class="cor-ae">
		<nav>
<ul >
  
    <li >Cadastro
        <ul >
        
			<li  id="cfc"  ><a href="#" id="myBtn">Psicólogos</a></li>
		
			
        </ul>
         <ul >
        
			<li  id="cfc"   ><a href="#" id="myBtnPaciente">Pacientes</a></li>
		
			
        </ul>
    </li>
    <li>Marcar Consultas
        <ul>
				<li  id="cfc"  ><a href="acessoliberado.jsp">Cadastro</a></li>
			
        </ul>
    </li>

</ul>
×

Cadastro de Psicólogos

<fieldset class="grupo">
	<div class="campo">
		<label for="nome">Nome</label>
		<input type="text" id="nome" name="nome" style="width: 20em" value="" />
		
	</div>
</fieldset>	
<div class="campo">
	
			<label for="nome">Data de Nascimento</label>
		<input type="date" id="datanascimento" name="datanascimento"  />
	</div>
	
	<div class="campo">
		<label for="nome">CRP-Conselho Regional de Psicologia</label>
		<input type="text" id="crp" name="crp" style="width: 20em" value="" />
		
	</div>
	
	
	
	
<div class="campo">

	<label>Sexo</label>
	<label class="checkbox">
		<input type="radio" id=sexo name="sexo" value="masculino"> Masculino
	</label>
	<label class="checkbox">
		<input type="radio" id=sexo name="sexo" value="feminino"> Feminino
	</label>
</div>

<div class="campo">
	<label for="email">E-mail</label>
	<input type="text" id="email" name="email" style="width: 20em" value="" />
</div>

<div class="campo">
	<label for="telefone">Telefone</label>
	<input type="text" id="telefone" name="telefone" style="width: 20em"  value="" />
</div>

<fieldset class="grupo">
	<div class="campo">
		<label for="cidade">Cidade</label>
		<input type="text" id="cidade" name="cidade" style="width: 20em" value="" />
	</div>
	<div class="campo">
		<label for="estado">Estado</label>
		<select name="estado" id="estado">
			<option value="">--</option>
			<option value="BA">BA</option>
		</select>
	</div>
</fieldset>



&nbsp;<button class="botao submit" type="submit" value="salvarpsicologo" >Cadastrar</button>
×

Cadastro de Pacientes

<fieldset class="grupo">
	<div class="campo">
		<label for="nome">Nome</label>
		<input type="text" id="nome" name="nome" style="width: 20em" value="" />
		
	</div>
</fieldset>	
<div class="campo">
	
			<label for="nome">Data de Nascimento</label>
		<input type="date" id="datanascimento" name="crp"  value="" />
	</div>
	
	<div class="campo">
		<label for="nome">Matrícula</label>
		<input type="text" id="matricula"  style="width: 20em" value="" />
		
	</div>
<div class="campo">

	<label>Sexo</label>
	<label class="checkbox">
		<input type="radio" name="sexo" value="masculino"> Masculino
	</label>
	<label class="checkbox">
		<input type="radio" name="sexo" value="feminino"> Feminino
	</label>
</div>

<div class="campo">
	<label for="email">E-mail</label>
	<input type="text" id="email" name="email" style="width: 20em" value="" />
</div>

<div class="campo">
	<label for="telefone">Telefone</label>
	<input type="text" id="telefone" name="telefone" style="width: 20em"  value="" />
</div>

<fieldset class="grupo">
	<div class="campo">
		<label for="cidade">Cidade</label>
		<input type="text" id="cidade" name="cidade" style="width: 20em" value="" />
	</div>
	<div class="campo">
		<label for="estado">Estado</label>
		<select name="estado" id="estado">
			<option value="">--</option>
			<option value="PR">PR</option>
		</select>
	</div>
</fieldset>



&nbsp;<button class="botao submit" type="submit" name="submit">Cadastrar</button>
P

Pelo que o console me mostra,as libs que você pretende usar ja foram definidas

J

Manda a sua página completa.

C

já resolvi.
Eu fiz sem usar as tag libs.

Criado 8 de junho de 2017
Ultima resposta 9 de jun. de 2017
Respostas 13
Participantes 3