Aquagen Napisano Lipiec 31, 2012 Zgłoszenie Share Napisano Lipiec 31, 2012 Witam Mam problem ze Springiem. Po przeinstalowaniu systemu do Fedory 17 (3.4.6-2.fc17.x86_64) zainstalowalem Spring Tool Suite w wersji 2.9.2 (uzylem springsource-tool-suite-2.9.2.RELEASE-e3.7.2-linux-gtk-x86_64-installer.sh) przy zainstalowanej Javie JDK SE 1.7.0_05 ( Java™ SE Runtime Environment (build 1.7.0_05-b06), Java HotSpot™ 64-Bit Server VM (build 23.1-b03, mixed mode) ). Niestety po samym uruchomieniu STSa w terminalu wypisuje mi blad [Fatal Error] :1:1: Premature end of file., ale moge po tym normalnie stworzyc najprostszy projekt Javy. Przy próbie uruchomienia tego z STSa wypisuje mi takie bledy: [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/refactoring/PushInRefactoringAction.java::0 class 'org.eclipse.ajdt.internal.ui.refactoring.PushInRefactoringAction' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/cuprovider/CompilationUnitProviderAspect.aj::0 class 'org.eclipse.contribution.jdt.cuprovider.CompilationUnitProviderAspect' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/codeconversion/AJSourceIndexerRequestor.java::0 class 'org.eclipse.ajdt.core.codeconversion.AJSourceIndexerRequestor' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/editor/AdviceActionDelegate.java::0 class 'org.eclipse.ajdt.internal.ui.editor.AdviceActionDelegate' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/refactoring/pullout/PullOutRefactoringAction.java::0 class 'org.eclipse.ajdt.internal.ui.refactoring.pullout.PullOutRefactoringAction' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/refactoring/pullout/PullOutRefactoring.java::0 class 'org.eclipse.ajdt.internal.ui.refactoring.pullout.PullOutRefactoring' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/AspectElement.java::0 class 'org.eclipse.ajdt.core.javaelements.AspectElement' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/itdawareness/ITDAwarenessAspect.aj::0 class 'org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/ui/AJDTNameEnvironmentProvider.java::0 class 'org.eclipse.ajdt.ui.AJDTNameEnvironmentProvider' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/codeconversion/ITDAwareNameEnvironment.java::0 class 'org.eclipse.ajdt.core.codeconversion.ITDAwareNameEnvironment' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/refactoring/SelectionUtil.java::0 class 'org.eclipse.ajdt.internal.ui.refactoring.SelectionUtil' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/editor/quickfix/QuickFixProcessor.java::0 class 'org.eclipse.ajdt.internal.ui.editor.quickfix.QuickFixProcessor' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/launching/AspectJApplicationLaunchShortcut.java::0 class 'org.eclipse.ajdt.internal.launching.AspectJApplicationLaunchShortcut' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/itdawareness/MatchLocationManipulatorAspect.aj::0 class 'org.eclipse.contribution.jdt.itdawareness.MatchLocationManipulatorAspect' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/internal/core/search/AJDTSearchProvider.java::0 class 'org.eclipse.ajdt.internal.core.search.AJDTSearchProvider' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/itdawareness/SearchHooksAspect.aj::0 class 'org.eclipse.contribution.jdt.itdawareness.SearchHooksAspect' is already woven and has not been built in reweavable mode Czy ktos moze wie co moze powodowac te bledy? Dodam, ze na Fedorze 16 z Java 1.7(chyba 0_03 a nie 05) Spring dzialal poprawnie, przy czym nie jestem pewien wersji STSa. Nawet jesli byla to wersja 2.9.1 a nie 2.9.2, to obie sa oparte na tym samym Eclipsie 3.7.2. Pozdrawiam i z góry dziekuje za odpowiedz P.S. W miedzyczasie próbowalem na Javie 1.6.0_33 obu wersji STS (obecna 2.9.2 i poprzedniej 2.9.1) i w dalszym ciagu dostaje bledy. W przypadku STS 2.9.1 sa to: [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester$WeavingMarker' is already woven and has not been built in reweavable mode Creating instance 'spring-insight-instance' ... Using separate layout Creating bin/setenv.sh Applying template 'base' Copying template's contents Applying fragment 'context-fragment.xml' to 'conf/context.xml' Applying fragment 'server-fragment.xml' to 'conf/server.xml' Applying fragment 'web-fragment.xml' to 'conf/web.xml' Applying fragment 'tomcat-users-fragment.xml' to 'conf/tomcat-users.xml' Applying fragment 'catalina-fragment.properties' to 'conf/catalina.properties' Applying template 'base-tomcat-7' Copying template's contents [Fatal Error] :1:1: Premature end of file. Applying fragment 'server-fragment.xml' to 'conf/server.xml' Applying fragment 'web-fragment.xml' to 'conf/web.xml' Applying fragment 'catalina-fragment.properties' to 'conf/catalina.properties' Applying template 'insight' Copying template's contents Applying fragment 'context-fragment.xml' to 'conf/context.xml' Applying fragment 'server-fragment.xml' to 'conf/server.xml' Applying template 'bio' Copying template's contents Applying fragment 'server-fragment.xml' to 'conf/server.xml' Configuring instance 'spring-insight-instance' to use Tomcat version 7.0.25.B.RELEASE Setting permissions Instance created Connector summary Port: 8080 Type: Blocking IO Secure: false [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/imagedescriptor/ImageDescriptorSelectorAspect.aj::0 class 'org.eclipse.contribution.jdt.imagedescriptor.ImageDescriptorSelectorAspect' is already woven and has not been built in reweavable mode [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/sourceprovider/SourceTransformerAspect.aj::0 class 'org.eclipse.contribution.jdt.sourceprovider.SourceTransformerAspect' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/resources/AJImageDescriptorSelector.java::0 class 'org.eclipse.ajdt.internal.ui.resources.AJImageDescriptorSelector' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/internal/core/CompilerConfigResourceChangeListener.java::0 class 'org.eclipse.ajdt.internal.core.CompilerConfigResourceChangeListener' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/ras/FFDC.aj::0 class 'org.eclipse.ajdt.core.ras.FFDC' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/internal/core/ras/CoreFFDC.aj::0 class 'org.eclipse.ajdt.internal.core.ras.CoreFFDC' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/ras/PluginFFDC.aj::0 class 'org.eclipse.ajdt.core.ras.PluginFFDC' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/model/AJProjectModelFacade.java::0 class 'org.eclipse.ajdt.core.model.AJProjectModelFacade' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/builder/AJBuilder.java::0 class 'org.eclipse.ajdt.core.builder.AJBuilder' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/internal/core/ajde/CoreCompilerConfiguration.java::0 class 'org.eclipse.ajdt.internal.core.ajde.CoreCompilerConfiguration' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/ui/AspectJUIPlugin.java::0 class 'org.eclipse.ajdt.ui.AspectJUIPlugin' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/ras/UIFFDC.aj::0 class 'org.eclipse.ajdt.internal.ui.ras.UIFFDC' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/builder/UIBuildListener.java::0 class 'org.eclipse.ajdt.internal.builder.UIBuildListener' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/javamodel/AJCompilationUnitResourceChangeListener.java::0 class 'org.eclipse.ajdt.internal.javamodel.AJCompilationUnitResourceChangeListener' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/EnsureAJBuilder.java::0 class 'org.eclipse.ajdt.internal.ui.EnsureAJBuilder' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/preferences/AspectJPreferences.java::0 class 'org.eclipse.ajdt.internal.ui.preferences.AspectJPreferences' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/preferences/AJCompilerPreferencePage.java::0 class 'org.eclipse.ajdt.internal.ui.preferences.AJCompilerPreferencePage' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/AJCompilationUnitManager.java::0 class 'org.eclipse.ajdt.core.javaelements.AJCompilationUnitManager' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/utils/AJDTUtils.java::0 class 'org.eclipse.ajdt.internal.utils.AJDTUtils' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/AJCodeElement.java::0 class 'org.eclipse.ajdt.core.javaelements.AJCodeElement' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/DeclareElement.java::0 class 'org.eclipse.ajdt.core.javaelements.DeclareElement' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/AspectJMemberElement.java::0 class 'org.eclipse.ajdt.core.javaelements.AspectJMemberElement' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.core] error at org/eclipse/ajdt/core/javaelements/IntertypeElement.java::0 class 'org.eclipse.ajdt.core.javaelements.IntertypeElement' is already woven and has not been built in reweavable mode [org.eclipse.ajdt.ui] error at org/eclipse/ajdt/internal/ui/actions/OpenTypeAction.java::0 class 'org.eclipse.ajdt.internal.ui.actions.OpenTypeAction' is already woven and has not been built in reweavable mode Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.simpleRepository java.lang.IllegalStateException: Attempt to access stopped agent: org.eclipse.equinox.internal.p2.core.ProvisioningAgent@7110e9f7 at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.checkRunning(ProvisioningAgent.java:85) at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.getService(ProvisioningAgent.java:49) at org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository.publishRepositoryReferences(LocalMetadataRepository.java:187) at org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository.initialize(LocalMetadataRepository.java:180) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryIO$Parser$RepositoryHandler.finished(MetadataRepositoryIO.java:327) at org.eclipse.equinox.internal.p2.persistence.XMLParser$AbstractHandler.endElement(XMLParser.java:178) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2939) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryIO$Parser.parse(MetadataRepositoryIO.java:209) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryIO.read(MetadataRepositoryIO.java:63) at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:107) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:749) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:165) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:105) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:749) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.getAvailableRepositories(UpdateChecker.java:150) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:128) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:72) Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.compositeRepository java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:931) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReference(BundleContextImpl.java:528) at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:63) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.getPreferences(AbstractRepositoryManager.java:495) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreFromPreferences(AbstractRepositoryManager.java:940) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.restoreRepositories(AbstractRepositoryManager.java:997) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.removeRepository(AbstractRepositoryManager.java:909) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:667) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:165) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:105) at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:749) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.getAvailableRepositories(UpdateChecker.java:150) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:128) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:72) No repository found at http://download.eclipse.org/releases/indigo. Exception in update check thread java.lang.IllegalStateException: Attempt to access stopped agent: org.eclipse.equinox.internal.p2.core.ProvisioningAgent@7110e9f7 at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.checkRunning(ProvisioningAgent.java:85) at org.eclipse.equinox.internal.p2.core.ProvisioningAgent.getService(ProvisioningAgent.java:49) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.getPlanner(UpdateChecker.java:172) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:134) at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:72) Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Aquagen Napisano Sierpień 2, 2012 Autor Zgłoszenie Share Napisano Sierpień 2, 2012 Chyba można już zakończyć ten wątek. Na forum Springa odpowiedzieli mi, że mam się nie przejmować tymi błędami i wszystko CHYBA jest w porządku (też dobre tłumaczenie - są błędy, ale wszystko jest OK). Nie przekonała mnie ta argumentacja, więc zrezygnowałem z STSa. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się