See seu servlet esta em WEB-INF/classes/servlet,
ele deve estar num package servlet, acredito eu.
Veja se o package de suas classes eh
package servlet;
Se nao tem package, voce deve colocar sua classe
em WEB-INF/classes. Ai o resin acha ela, com certeza.
Se voce tem uma classe, bean ou servlet, com um
package x.y.z, voce deve posiciona-la em
WEB-INF/classes/x/y/z. E assim por diante.
Teste e me de um retorno.
Bye
Andre.
--- jspdeveloper <[EMAIL PROTECTED]> wrote:
>
URGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTE
> gente, boa noite!
>
> estou meio que desesperado.
> primeiro, nao consegui fazer rodar em servlet uma
> classe de codigo de barras
> que foi feita para awt.
> a solucao foi comprar por 155$ uma que fizesse isto
> para servlets.
>
> agora, estou com problemas com a tal da classe de
> exemplo que veio no
> arquivo que comprei.
> o resin nao consegue compilar a classe, e eu jah
> tentei ate colocar a classe
> compilada no diretorio mas nao deu certo.
> se alguem puder me ajudar, agradeco de coracao e de
> pescoco (pois o meu esta
> apertando).
>
> estou usando o resin 1.2.2
> meus servlets estao em /WEB-INF/classes/servlet
> e meu servlet se chama BarCodeServlet
>
>
> testem e vejam o erro
> http://164.41.67.135/servlet/servlets.BarCodeServlet
>
>
>
> 500 Servlet Exception
> com.caucho.java.CompileClassNotFound: compiling
> servlets.BarCodeServlet
> didn't produce a .class
> at
>
com.caucho.java.CompilingClassLoader.getClassEntry(CompilingClassLoader.java
> :214)
> at
>
com.caucho.util.DynamicClassLoader.findClass(DynamicClassLoader.java:416)
> at
>
com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:371)
> at
>
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at java.beans.Beans.instantiate(Beans.java:190)
> at java.beans.Beans.instantiate(Beans.java:51)
> at
>
com.caucho.server.http.Application.createServlet(Application.java:1708)
> at
>
com.caucho.server.http.Application.loadServlet(Application.java:1674)
> at
>
com.caucho.server.http.Invocation.service(Invocation.java:245)
> at
>
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:123)
> at
>
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:349)
> at
>
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:265
> )
> at
>
com.caucho.server.TcpConnection.run(TcpConnection.java:142)
> at java.lang.Thread.run(Thread.java:484)
>
>
>
URGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTEURGENTE
>
> tah certo, sou um burro, mas eh q quando eu sou
> pressionado pra fazer as
> coisas pra ontem eu fico meio q no desespero, e
> fico mais burro ainda
>
>
> obrigado pela ajuda....
>
>
> ah,,,
> meu resin conf esta aqui abaixo....
>
>
>
> <!--
> - The Resin configuration file.
> -
> - This example file is more complicated than is
> needs to be because
> - it makes several configurations explicit that
> can be simplified and
> - because it needs to configure the examples.
> -
> - Look in conf/samples for more realistic sample
> configurations.
> - conf/samples/simple.conf - a simple, basic
> configuration
> - conf/samples/deploy.conf - a simple
> configuration for deployment
> -
> - The configuration is based on a purely
> element-based XML. To make
> - it easier to read, attributes can be used as
> syntactic sugar.
> -
> - The following are equivalent:
> - <foo><bar>13</bar></foo> - canonical
> representation, but verbose
> - <foo bar=13/> - typical
> configuration
> - <foo><bar id=13/></foo> - sometimes useful
> -->
> <caucho.com>
>
> <!-- Resin logging. You can uncomment the following
> useful log.-->
>
> <log id='/caucho.com/tcp-server'
> href='stderr:'
> timestamp='[%H:%M:%S.%s]'/>
>
>
> <!-- Security providers. Adding JSSE looks like:
> - <security-provider
> id='com.sun.net.ssl.internal.ssl.Provider'/>
> -->
>
> <!--
> - You can change the compiler to "internal" or
> jikes
> - and change the work-dir
> -->
>
> <java compiler="internal" compiler-args=""
> work-dir='work'/>
>
>
> <!--
> - Sample database pool configuration
> - The JDBC name is java:comp/jdbc/test
> -->
>
> <!--
> <resource-ref>
> <res-ref-name>argo</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <init-param
> driver-name="org.gjt.mm.mysql.Driver"/>
> <init-param
> url="jdbc:mysql://localhost:3306/argo"/>
> <init-param user="robson"/>
> <init-param password="spoof99"/>
> <init-param max-connections="20"/>
> <init-param enable-transaction="false"/>
> </resource-ref>
> -->
>
>
>
> <!--
> - Use precompiled JSP classes if available.
> - 'static-encoding' - optimization if you stick
> to one character set
> -->
>
> <jsp precompile='true' static-encoding='true'/>
>
> <!--
> - For production sites, change
> class-update-interval to something
> - like 60, so it only checks for updates every
> minute.
> -->
>
> <http-server>
>
> <!--
> - The root file directory of the server.
> Apache users will change
> - this to /usr/local/apache/htdocs and IIS
> users will change it
> - to d:\inetpub\wwwroot
> -->
>
> <app-dir>/var/www/html/</app-dir>
>
> <!-- the http port -->
>
> <http port='8080'/>
>
> <!--
> - The srun port, read by both JVM and plugin
> - 127.0.0.1 is the localhost
> -->
>
> <srun host='127.0.0.1' port='6802'/>
>
> <!--
> - How to add SSL:
> -
> - <http port=8443>
> - <ssl>true</ssl>
> - <key-store-type>pkcs12</key-store-type>
> -
>
<key-store-file>keys/server_cert.p12</key-store-file>
> -
> <key-store-password>changeit</key-store-password>
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
------------------------------ LISTA SOUJAVA ----------------------------
http://www.soujava.org.br - Sociedade de Usuários Java da Sucesu-SP
dúvidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
para sair da lista: envie email para [EMAIL PROTECTED]
-------------------------------------------------------------------------