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:

Full error:

@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

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!


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