I'd love to help, but your post does not contain enough information for me to answer your question.
You might want to review Set up ODK Aggregate on WebSite server - #2 by Saad and https://opendatakit.org/use/aggregate/tomcat-install/ and if you have any specific questions after that, update this topic.