0

私は Eclipse ケプラーと IBM jdk 1.6 を使用しています。

java version "1.6.0"
Java(TM) SE Runtime Environment (build pwa6460sr2-20080818_01(SR2))
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)
J9VM - 20080816_022093_LEdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA)
JCL  - 20080808_02

インストールするとSTS for Eclipse Kepler、Eclipse を実行するたびに次のエラー メッセージが表示されます。助けてくれませんか?


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: 
4

1 に答える 1

0
解決しました。
1) 開発者向けに websphere 7.0 を入手する
2) インストールします。
3) updateinstaller を取得する
4) インストールします。
5) websphere 7.0 の最新のフィックスパックを入手する (Java SDK を含む)
6) フィックスパックで更新します。
7) websphere 内で更新された Java を使用します。
于 2015-05-13T06:50:55.253 に答える