pessoal,
estou com uma página acessando um Bean e dá o seguinte erro:
HTTP Status 500 -o código da página é o seguinte:--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 4 in the jsp file: /paginaInicial.jsp
Generated servlet error:
[javac] Compiling 1 source fileC:\Documents and Settings\Jean.STI-JC\.netbeans\3.6\jakarta-tomcat-5.0.19_base\work\Catalina\localhost\STI-FB_Games\org\apache\jsp\paginaInicial_jsp.java:58: JogadorAtualBean(game.app.JogadorBean) in game.jogatual.JogadorAtualBean cannot be applied to ()
jogAtual = new game.jogatual.JogadorAtualBean();
^
<jsp:include page="autenticador.jsp"/>
<jsp:useBean id="jogAtual" class="game.jogatual.JogadorAtualBean" scope="session"/>
<jsp:useBean id="oJogo" class="game.app.JogoDasBandeirasBean" scope="application"/>
<%session.setAttribute("bandAtual", oJogo.sorteieBandeira());%>
<html>
<head>
<%@include file="html/titulo.html"%>
</head>
<body>
<%@include file="html/cabecalho.html"%>
<h2> Bem vindo ao Jogo <%=jogAtual.getOJogador().getNome()%> </h2>
<table border='1'>
<tr bgcolor='yellow'>
<th>Partidas</th><th>Acertos</th><th>Tentativas</th></tr>
<tr><td><%=jogAtual.getOJogador().getNumPartidas()%></td>
<td><%=jogAtual.getNumAcertos()%></td>
<td align='center'><%=jogAtual.getNumTentativas()%></td>
</tr>
</table>
<h3>Objetivo do Jogo:</h3>
<p> O objetivo do jogo é acertar o nome do país que possui a bandeira
indicada abaixo: </p>
<img src="/img/<jsp:getProperty name='bandAtual' property='img'/>" border='2'>
<form type='post' action='controlador.jsp'>
<input type=text name='pais' size='20'>
<input type=hidden name='opcao' value='verificar'>
<input type=submit value='Verificar resposta'>
</form>
<form type='post' action='controlador.jsp'>
<input type=hidden name='opcao' value='sair'>
<input type=submit value='Sair do Jogo'>
</form>
</body>
</html>
t+
JC