Error with deploy-web profile

Hello, I am getting errors when attempting to use the deploy-web profile.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project maplocation-api: An Ant BuildException has occured: C:\Users\subif\maplocation\api\omod\src\main\webapp not found.

That folder doesn’t exist, and I don’t know why its searching there. Can anyone help please?

My pom.xml: https://pastebin.com/cB3zpR5V

Full error: https://pastebin.com/m2CYnpwv

@bakedkaboose Do you want to give details of what you’re doing ?

However your log suggests something missing

" C:\Users\subif\maplocation\api\omod\src\main\webapp not "

Try deleting everything and starting afresh.

@tendomart I’ve just gotten started with the ‘Creating Your First Module’ tutorial http://devmanual.openmrs.org/en/Case_study/yourFirstModule.html

It worked at first, but when I attempted to change the module, this happened.

What do you mean by “deleting everything”? Should I delete the entire module and start anew, or should I be editing something else? Thank you!

Clear the Cache/s and restart or repeat the whole process.

1 Like

Deleting the project and starting from scratch worked, thank you!

2 Likes

Am glad it worked :grinning::grinning::grinning: