File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/contract/routing/impl Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,10 @@ public void findAndSetContracts(TypeRegistry typeRegistry) {
156156 ConfigurationBuilder configurationBuilder = new ConfigurationBuilder ();
157157 configurationBuilder .addUrls (urls );
158158 configurationBuilder .addUrls (ClasspathHelper .forJavaClassPath ());
159+ configurationBuilder .addUrls (ClasspathHelper .forManifest ());
159160 Reflections ref = new Reflections (configurationBuilder );
160161
161- logger .info ("Searching chaincode class in urls: " + urls );
162+ logger .info ("Searching chaincode class in urls: " + configurationBuilder . getUrls () );
162163
163164 // set to ensure that we don't scan the same class twice
164165 Set <String > seenClass = new HashSet <>();
You can’t perform that action at this time.
0 commit comments