Announcement

Collapse
No announcement yet.

GWT import von Views schlägt fehl :(

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • GWT import von Views schlägt fehl :(

    Hallo ich hoffe das ich in dieser Community Hilfe im Bezug auf das GWT bekomme.

    Ich habe neben dem Client Package das den EntryPoint enthält ein hierarisch gleichwertiges Paket das eine Klasse enthält die einfach nur ein paar UI Elemente auf einen Panel setzt und diesen dann ausliefert. Der EntryPoint soll diese Klasse nun initiieren und sich das Panel geben lassen und es auf den RootPanel setzen.

    Es klappt solange wie die ViewKlasse im selben Ordner ist wie der EntryPoint.
    Ich habe natürlich schon versucht den Source Path anzupassen aber der Fehler bleibt.

    Die gwt.xml sieht so aus:

    <?xml version="1.0" encoding="UTF-8"?>
    <module>
    <inherits name="com.google.gwt.user.User"/>
    <entry-point class="GameEngine.client.MainModuleEntryPoint"/>
    <source path="client"/>
    <source path="GameEngine.Modules.System.Model"/>
    <source path="GameEngine.Modules.System.InformationBoxModu le"/>
    </module>

    Im Paket Model befindet sich ein Interface und im Paket Infor...Module befindet sich eine Klasse die ich beide importieren will.

    Hat jemand vielleicht eine Idee was das Problem sein könnte?

    Hier noch die Fehlermeldung:


    Removing units with errors
    [ERROR] Errors in 'file:.../GameEngine/client/MainModuleEntryPoint.java'
    [ERROR] Line 12: The import GameEngine.Modules.System.InformationBoxModule.Inf ormationBoxView cannot be resolved
    [ERROR] Line 29: InformationBoxView cannot be resolved to a type
    Computing all possible rebind results for 'GameEngine.client.MainModuleEntryPoint'
    Rebinding GameEngine.client.MainModuleEntryPoint
    Checking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGe nerator'/>
    [ERROR] Unable to find type 'GameEngine.client.MainModuleEntryPoint'
    [ERROR] Hint: Previous compiler errors may have made this type unavailable
    [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
    [ERROR] Build failed
Working...
X