You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I found an issue which many of those who build the project for the first time will encounter.
Following the instructions in the README, I built the project, and deployed the .war in Apache Tomcat. However, the application could not be started. The tomcat logs revealed the following error:
Error in custom provider, java.io.IOException: could not locate mail.properties
I couldn't find the mail.properties file anywhere in the project.
Currently, I worked around this by creating a mail.properties file of my own with the compulsory details as required in MailerImpl.java.
After doing this, the application ran and I was able to test the APIs.
I'm guessing the file is skipped out on purpose (due to its configuration details)? Or is this just a bug?
Either way, I think including a dummy mail.properties (attaching the contents as txt below) would at least allow users to start the application in tomcat without any issues.
I did however just get started with this project, and apologies if I'm overlooking something. :)
The text was updated successfully, but these errors were encountered:
techgod
changed the title
Missing mail.properties file - prevents deployment.
Missing mail.properties file - causes exception while running of webapp.
Mar 12, 2020
Hi!
I think I found an issue which many of those who build the project for the first time will encounter.
Following the instructions in the README, I built the project, and deployed the .war in Apache Tomcat. However, the application could not be started. The tomcat logs revealed the following error:
Error in custom provider, java.io.IOException: could not locate mail.properties
I couldn't find the mail.properties file anywhere in the project.
Currently, I worked around this by creating a mail.properties file of my own with the compulsory details as required in
MailerImpl.java
.After doing this, the application ran and I was able to test the APIs.
I'm guessing the file is skipped out on purpose (due to its configuration details)? Or is this just a bug?
Either way, I think including a dummy mail.properties (attaching the contents as txt below) would at least allow users to start the application in tomcat without any issues.
I did however just get started with this project, and apologies if I'm overlooking something. :)
dummy mail.properties & tomcat logs:
mail.properties.txt
enviroCar-server 2.26.02 AM.log
The text was updated successfully, but these errors were encountered: