title: The package collides with a type
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2674325/eclipse-3-4-ganymede-package-collision-with-type">eclipse 3.4 (ganymede) package collision with type</a>  </p>
  </blockquote>
  
  
  
  <p>I'm new in java, but i tried to write a script for a game Lineage2.</p>
  
  <p>heres a code:</p>
  
  <pre><code>package ZergZ.ZTeleport;
  import javolution.util.FastMap;
  import com.l2jserver.Config;
  import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
  import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
  import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
  import com.l2jserver.gameserver.model.Location;
  import com.l2jserver.gameserver.handler.VoicedCommandHandler;
  
  public class ZTeleport implements IVoicedCommandHandler
  {
      private static final String[] VOICED_COMMANDS =
      {
          "teleport"
      };
      @Override
      public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params)
      {
          if (activeChar == null)
              return false;
  
          if (params.equalsIgnoreCase("aden"))
          {
              activeChar.teleToLocation(147736,-56243,-2781);
          }
          if (params.equalsIgnoreCase("gracia"))
          {
              activeChar.teleToLocation(-186742,244167,2675);
          }
          if (params.equalsIgnoreCase("pvp1"))
          {
              activeChar.teleToLocation(147736,-56243,-2781);
          }
          if (params.equalsIgnoreCase("pvp2"))
          {
              activeChar.teleToLocation(179337,221937,4475);
          }
  
      }
      @Override
      public String[] getVoicedCommandList()
      {
          return VOICED_COMMANDS;
      }
  
  
  }
  </code></pre>
  
  <p>when server starts java says:
  1. ERROR in \ZTeleport.java (at line 17)<br/>
      package ZergZ.ZTeleport;<br/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;       ^^^^^^^^^^^^^^^^^^^^<br/>
  The package ZergZ.ZTeleport collides with a type</p>
  
  <p>the script is situated in ZergZ/ZTeleport.java</p>
  
  <p>I'll give you another script which works fine:</p>
  
  <pre><code>package custom.HeroCirclet;
  
  import com.l2jserver.gameserver.model.actor.L2Npc;
  import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
  import com.l2jserver.gameserver.model.quest.Quest;
  import com.l2jserver.gameserver.model.quest.QuestState;
  
  public class HeroCirclet extends Quest
  {
  ______
  }
  </code></pre>
  
  <p>Thanks.</p>