apache / apache/netbeans

to run Spring web mvc

Open
#7,660 0 comments 0 reactions 0 assignees View on GitHub
kind:bug needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 22

### What happened

i'm creating a spring web mvc and to check if it work well i'm running it but i'm getting the error mesage look like this FAIL - Deployed application at context path [/SpringPro] but context failed to start
C:\Users\user\OneDrive\Documents\NetBeansProjects\SpringPro\nbproject\build-impl.xml:1060: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 4 seconds) i'm using apache netbean version 20 and i don't think that the apache is the problem but may there may be some dependencies i don't have in my IDE cause the server is correctly configured also , i'm using apache tomcat server and before change anything when you create a new project the web.xml and applicationContext.xml files i think are correctly defined well hhelp me to solve this issues

### Language / Project Type / NetBeans Component

java with ant /java web/web application

### How to reproduce

there's also a time i get this message error said that "Deployment descriptor contains errors, spring framework has to be manually configured there!" my be this could help you to know what's wrong also

### Did this work correctly in an earlier version?

Apache NetBeans 18

### Operating System

i'm using window 11

### JDK

jdk17

### Apache NetBeans packaging

Own source build, Apache NetBeans platform

### Anything else

nothing else all i want is the help to solve the issue

### Are you willing to submit a pull request?

Yes

Contributor guide

Open the contributing guide

Research direction

Start with the server log and the deployment failure reported from nbproject/build-impl.xml:1060, then inspect web.xml and applicationContext.xml for the deployment descriptor errors. Reproduce the Spring web application deployment on the reported NetBeans, Tomcat, Windows 11, and JDK 17 setup; done means the application deploys without the context-start failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.