STS 3.0.0 installer and Maven problem on startup
I'm using STS 3.0.0 (build 201208091018) on Windows 7 and using IBM's J9 JDK that comes with WebSphere 7.0.
When installing I'm pointing to the WebSphere's JDK but it tells me that it's 32-bit, not 64-bit/ When I use java -version it says:-
Code:
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows Vista amd64-64 jvmwa6460-20080816_22093 (JIT enabled, AOT enabled)
which suggests that it is 64-bit. Anyway, the install seems successful except no icons are added to quicklaunch, the desktop or the start menu. Starting STS from the STS.exe icon in Windows Explorer gets me into STS but there is an immediate error:-
Code:
Could not lookup required component
com.google.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, java.lang.TypeNotPresentException: Type javax.enterprise.inject.Typed not present
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.sonatype.plexus.components.cipher.PlexusCipher
while locating org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.sonatype.plexus.components.sec.dispatcher.SecDispatcher annotated with @com.google.inject.name.Named(value=maven)
while locating org.apache.maven.settings.crypto.DefaultSettingsDecrypter
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.settings.crypto.SettingsDecrypter
while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.repository.RepositorySystem
while locating org.apache.maven.execution.DefaultMavenExecutionRequestPopulator
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.execution.MavenExecutionRequestPopulator
1 error
role: org.apache.maven.execution.MavenExecutionRequestPopulator
roleHint:
Is STS just not compatible with IBM's 64-bit J9 JDK?