Skip to content

Commit

Permalink
#169: Startup problem javax.xml.accessExternal
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed Aug 28, 2024
1 parent 54f49bd commit 99c9ec2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public class MobileAccessGateway {
* @param args The list of CLI parameters.
*/
public static void main(final String[] args) {

System.setProperty("javax.xml.accessExternalDTD", "all"); // or "http"
System.setProperty("javax.xml.accessExternalSchema", "all"); // or "http"

log.info("Configuring Mobile Access Gateway");

final SpringApplication application = new SpringApplication(MobileAccessGateway.class);
Expand Down

0 comments on commit 99c9ec2

Please sign in to comment.