![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 139
Rep Power: 4
![]() |
Hello i just changed my servlet to be packaged, and i added a servlet mapping in the web.xml file (i am using Apache 5.9 that comes bundled with netbeans)
i added <servlet>
<servlet-name>addInvoice</servlet-name></servlet-name>
<servlet-class>invoice.CustomQuery2</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>addInvoice</servlet-name>
<url-pattern>/addInvoice</url-pattern>
</servlet-mapping>between the <web-app> tags and i get this error when i try to deploy: FAIL - Failed to deploy application at context path /invoicer FAIL - Failed to deploy application at context path /invoicer C:\java\invoice\proj\nbproject\build-impl.xml:408: Deployment error: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 0 seconds) when i click the link it gives me it brings up the build.xml file and highlights this line: <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/> saying "Deployment error" Thanks and any ideas? |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jul 2005
Location: Athens,Greece
Posts: 39
Rep Power: 0
![]() |
what about your context.xml file?
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 Loggers in the same Servlet.... | tsofras | Java | 0 | May 31st, 2007 10:40 AM |
| jsp and java servlet | cairo | Java | 5 | May 31st, 2007 2:05 AM |
| [java] servlet and mysql problem | C41R0 | Java | 4 | Oct 12th, 2006 1:09 AM |
| jsp & servlet tutorials | bae | Java | 1 | Feb 10th, 2006 11:41 PM |
| Cant connect servlet to MySQL DB | BizzyC | Java | 0 | Mar 8th, 2005 10:01 AM |