Skip to content

Commit 8cc039c

Browse files
committed
fixed configuration issue
1 parent 98d5610 commit 8cc039c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

jdk_8_maven/em/embedded/rest/ocvn/src/main/java/em/embedded/org/devgateway/ocvn/EmbeddedEvoMasterController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public String startSut() {
8484
"--spring.datasource.username=sa",
8585
"--spring.datasource.password",
8686
"--dg-toolkit.derby.port=0",
87-
"--spring.cache.type=NONE"
87+
"--spring.cache.type=NONE",
88+
"--spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration"
8889
});
8990

9091

jdk_8_maven/em/external/rest/ocvn/src/main/java/em/external/org/devgateway/ocvn/ExternalEvoMasterController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ public String[] getJVMParameters() {
122122
"-Dspring.datasource.username=sa",
123123
"-Dspring.datasource.password",
124124
"-Ddg-toolkit.derby.port=0",
125-
"-Dspring.cache.type=NONE"
125+
"-Dspring.cache.type=NONE",
126+
"-Dspring.autoconfigure.exclude=org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration"
126127
};
127128
}
128129

0 commit comments

Comments
 (0)