Forum Discussion
soverbosch
11 years agoOccasional Contributor
I tried to build soapui (after downloading it from git) and both version 4.6.1 and 4.6.2 are failing with the following message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project soapui: Compilation failure
[ERROR] /tmp/git/soapui/soapui/src/main/java/com/eviware/soapui/impl/wsdl/support/wss/crypto/KeyMaterialWssCrypto.java:[226,37] error: no suitable method found for build(byte[],byte[],char[],char[])
The line is fails on is:
KeyStoreBuilder.build( Util.streamToBytes( new FileInputStream( sourceProperty.expand() ) ), getDefaultAlias().getBytes(),
getPassword().toCharArray(), getAliasPassword().toCharArray() );
if I change this into:
KeyStoreBuilder.build(Util.streamToBytes( new FileInputStream( sourceProperty.expand() ) ), getDefaultAlias().getBytes(),
getAliasPassword().toCharArray() );
Just wondering why this happends feels like the actual release differs from what is on git?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project soapui: Compilation failure
[ERROR] /tmp/git/soapui/soapui/src/main/java/com/eviware/soapui/impl/wsdl/support/wss/crypto/KeyMaterialWssCrypto.java:[226,37] error: no suitable method found for build(byte[],byte[],char[],char[])
The line is fails on is:
KeyStoreBuilder.build( Util.streamToBytes( new FileInputStream( sourceProperty.expand() ) ), getDefaultAlias().getBytes(),
getPassword().toCharArray(), getAliasPassword().toCharArray() );
if I change this into:
KeyStoreBuilder.build(Util.streamToBytes( new FileInputStream( sourceProperty.expand() ) ), getDefaultAlias().getBytes(),
getAliasPassword().toCharArray() );
Just wondering why this happends feels like the actual release differs from what is on git?
Related Content
- 2 years agoarmygrad