Visualizzazione dei risultati da 1 a 2 su 2

Discussione: deploy tomcat

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2013
    Messaggi
    16

    deploy tomcat

    Salve ho un problema nel fare il deploy di una servlet su apache-tomcat
    ho creato le seguenti cartelle sotto webapps:
    test
    -----WEB-INF
    ---------------classes

    in classes c'è la classe contenente la servlet(BackEnd.class) in WEB-INF il seguente file xml :

    codice:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Mycrosystems, Inc.//DTD Web Application 2.3// EN""http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
       <servlet>
          <servlet-name>BackEnd</servlet-name>
          <servlet-class>BackEnd</servlet-class>
       </servlet>
       <servlet-mapping>
         <servlet-name>BackEnd</servlet-name>
         <url-pattern>/Backend</url-pattern>
       </servlet-mapping>
    </web-app>
    accedendo dall'application manager di tomcat non riesco ad avviare l'applicazione ottengo sempre il seguente errore:
    FAIL - Application at context path /test could not be started

    aiutooo

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2013
    Messaggi
    16

    [RISOLTO]

    ho risolto,se dovesse servire a qualcuno era il DOCTYPE che non gli andava bene

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.