Multiple Markers at this line

huckleberry

Bekanntes Mitglied
Hi,

ich bekomme
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for org.apache.commons.lang.builder.ToStringBuilder. Fix the build path then try building this project OpenLR-CLI Unknown Java Problem

Java:
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.01.20 at 01:01:19 PM CET 

package openlr.xml.autogen;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
import org.jvnet.jaxb2_commons.lang.builder.JAXBToStringBuilder;


/**
 * 
 * 				A XMLLocationReference
 * 				describes an OpenLR location reference.
 * 				Currently only line and point
 * 				locations are defined but other
 * 				location types may follow.
 * 			
 * 
 * <p>Java class for XMLLocationReference complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="XMLLocationReference">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice>
 *         &lt;element name="LineLocationReference" type="{http://www.openlr.org/openlr}LineLocationReference"/>
 *         &lt;element name="PointLocationReference" type="{http://www.openlr.org/openlr}PointLocationReference"/>
 *       &lt;/choice>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "XMLLocationReference", propOrder = {
    "lineLocationReference",
    "pointLocationReference"
})
public class XMLLocationReference
    implements Equals, HashCode, ToString
{

    @XmlElement(name = "LineLocationReference")
    protected LineLocationReference lineLocationReference;
    @XmlElement(name = "PointLocationReference")
    protected PointLocationReference pointLocationReference;

    /**
     * Gets the value of the lineLocationReference property.
     * 
     * @return
     *     possible object is
     *     {@link LineLocationReference }
     *     
     */
    public LineLocationReference getLineLocationReference() {
        return lineLocationReference;
    }

    /**
     * Sets the value of the lineLocationReference property.
     * 
     * @param value
     *     allowed object is
     *     {@link LineLocationReference }
     *     
     */
    public void setLineLocationReference(LineLocationReference value) {
        this.lineLocationReference = value;
    }

    /**
     * Gets the value of the pointLocationReference property.
     * 
     * @return
     *     possible object is
     *     {@link PointLocationReference }
     *     
     */
    public PointLocationReference getPointLocationReference() {
        return pointLocationReference;
    }

    /**
     * Sets the value of the pointLocationReference property.
     * 
     * @param value
     *     allowed object is
     *     {@link PointLocationReference }
     *     
     */
    public void setPointLocationReference(PointLocationReference value) {
        this.pointLocationReference = value;
    }

    public void toString(ToStringBuilder toStringBuilder) {
        {
            LineLocationReference theLineLocationReference;
            theLineLocationReference = this.getLineLocationReference();
            toStringBuilder.append("lineLocationReference", theLineLocationReference);
        }
        {
            PointLocationReference thePointLocationReference;
            thePointLocationReference = this.getPointLocationReference();
            toStringBuilder.append("pointLocationReference", thePointLocationReference);
        }
    }

    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }

    public void equals(Object object, EqualsBuilder equalsBuilder) {
        if (!(object instanceof XMLLocationReference)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        final XMLLocationReference that = ((XMLLocationReference) object);
        equalsBuilder.append(this.getLineLocationReference(), that.getLineLocationReference());
        equalsBuilder.append(this.getPointLocationReference(), that.getPointLocationReference());
    }

    public boolean equals(Object object) {
        if (!(object instanceof XMLLocationReference)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
        equals(object, equalsBuilder);
        return equalsBuilder.isEquals();
    }

    public void hashCode(HashCodeBuilder hashCodeBuilder) {
        hashCodeBuilder.append(this.getLineLocationReference());
        hashCodeBuilder.append(this.getPointLocationReference());
    }

    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }

}

Weiterhin: In der ersten Zeile bekomme ich:
Multiple markers at this line
- The type org.apache.commons.lang.builder.ToStringBuilder cannot be resolved. It is indirectly referenced from
required .class files
- The type org.apache.commons.lang.builder.ToStringBuilder cannot be resolved. It is indirectly referenced from
required .class files

Angezeigt wird der Fehler da wo Kommentare sind, ganz oben??? JRE System library ist im Build path drin. Ist eine Eclipse Fehlermeldung; und keinde Java Fehlermeldung, richtig?

Jemand Tipps für mich?

Ich danke..
 

huckleberry

Bekanntes Mitglied
Project --> Properties --> Build Path --> Libraries --> commons-lang3-3.0.1.jar hatte ich als Add external jar.. eingefügt.
AUch habe ich eine Tab weiter "Order und export" diese jar mit dem Häkchen markiert..

Habe ich was vergessen um es in den BuildPath meiner IDE aufzunemen?

Thanks Huck
 

mvitz

Top Contributor
commons-lang-3 nutzt andere packages als commons-lang-2. binde mal eine commons-lang 2.x (glaube 6 ist die neueste) ein.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
Dogge Multiple markers at line 15 Java Basics - Anfänger-Themen 13
vivansai21 Is there a oneliner to create a SortedSet filled with one or multiple elements in Java? Java Basics - Anfänger-Themen 9
E multiple Timer die sich nicht summieren Java Basics - Anfänger-Themen 12
JD_1998 Multiple Parametereingabe Java Basics - Anfänger-Themen 3
D [AES] input not multiple of 16 Java Basics - Anfänger-Themen 2
K RegEx - Multiple Line Java Basics - Anfänger-Themen 3
F Multiple Generics Java Basics - Anfänger-Themen 10
G Multiple Clients and one Server Java Basics - Anfänger-Themen 2
x22 Java Multiple Choice Test Java Basics - Anfänger-Themen 8
U [Problem] Handling multiple frames Java Basics - Anfänger-Themen 5
P Threads Multiple Dialogboxen Java Basics - Anfänger-Themen 6
G Multiple Leerzeichen entfernen Java Basics - Anfänger-Themen 13
J String zu Double parsen (multiple points) Java Basics - Anfänger-Themen 2
S Threads Handling multiple different Threads Java Basics - Anfänger-Themen 7
H Multiple Fileaccess - sync? Java Basics - Anfänger-Themen 7
H Multiple JFrames im GUI Editor von NetBeans Java Basics - Anfänger-Themen 2
S jList Multiple Selection mit Klick Java Basics - Anfänger-Themen 2
C Multiple Choice Test Java Java Basics - Anfänger-Themen 5
T Multiple BufferedImage Java Basics - Anfänger-Themen 3
M Mutiple markers werden in Eclipse nicht mehr angezeigt Java Basics - Anfänger-Themen 2
lougoldi Command Line Java Basics - Anfänger-Themen 9
A Java command line binding (library)? Java Basics - Anfänger-Themen 5
B cal4j - Error at line 1:Unexpected end of file Java Basics - Anfänger-Themen 0
M Erste Schritte Mehrere eingaben in einer Line vergleichen (if equals...) Java Basics - Anfänger-Themen 6
B Wieso wird die Zeile "column" genannt und die Spalte "line"? Java Basics - Anfänger-Themen 12
D Java-API mit Command Line Tool für Rasenroboter umsetzen Java Basics - Anfänger-Themen 10
B Quellcode einelsen "line by line" (und abspeichern in file (txt) Java Basics - Anfänger-Themen 7
D java.util.NoSuchElementException: No line found Java Basics - Anfänger-Themen 11
G No line found-Fehler bei Scanner Java Basics - Anfänger-Themen 7
G Line Separator in ArrayList durch ";" ersetzen Java Basics - Anfänger-Themen 4
F Line zeichnen und Werte ändern Java Basics - Anfänger-Themen 6
G PrintWriter each line möglich? Java Basics - Anfänger-Themen 4
F System.getProperty("line.separator") funkt. nicht Java Basics - Anfänger-Themen 4
D Scanner hasNext(Line)() Block Problematik... Java Basics - Anfänger-Themen 6
H Command Line in Java Java Basics - Anfänger-Themen 3
E line=In.readLine() Java Basics - Anfänger-Themen 2
M Einlesen von Binärdateien (binary interleaved by line) Java Basics - Anfänger-Themen 3
M line.separator: Problem beim Lesen einer Datei Java Basics - Anfänger-Themen 11
J NullPointerException line = br.readLine().length() Java Basics - Anfänger-Themen 9
K Anzahl Zeichenfolge in Line ermitteln Java Basics - Anfänger-Themen 3
A Line-Editor Java Basics - Anfänger-Themen 2
P "Line too long" bei der Generierung des jars. Java Basics - Anfänger-Themen 5
S Mit line.split() leider unterschiedliche Anzahl von Spalten Java Basics - Anfänger-Themen 19

Ähnliche Java Themen

Neue Themen


Oben