Maven giving "annotations are not supported in -source 1.3" for  @Entity

I m using maven for spring, hibernate with jpa . When i m running comman "mvn clean install" ,it is giving error in compilation of a bean class which is using jpa annotations.The error is :
annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@Entity
Pom.xml is as below :
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.niit.core</groupId>
<artifactId>Spring3Example</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Spring3Example</name>
<url>http://maven.apache.org</url>
<properties>
<org.springframework-version>3.1.2.RELEASE</org.springframework-version>
</properties>
<repositories>
<repository>
<id>JBoss Repo</id>
<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<!-- <dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.2</version>
</dependency>
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.10.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate.java-persistence</groupId>
<artifactId>jpa-api</artifactId>
<version>2.0-cr-1</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.5.0-Beta-2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
</dependencies>
</project>
And class is as below :
package com.niit.form;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="CONTACTS")
public class Contact {
@Id
@Column(name="ID")
@GeneratedValue
private Integer id;
@Column(name="FIRSTNAME")
private String firstname;
public String getFirstname() {
return firstname;
public void setFirstname(String firstname) {
this.firstname = firstname;
public void setLastname(String lastname) {
this.lastname = lastname;
public Integer getId() {
return id;
public void setId(Integer id) {
this.id = id;
}

java version is 1.6.0_24
There is no settings.xml in users/.m2
I think , maven is using default settings.xml which is in M2_HOME\conf which has everything commented as below:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in $HOME/.m2/settings.xml.
|
| NOTE: This location can be overridden with the system property:
|
| -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all maven
| users on a machine (assuming they're all using the same maven
| installation). It's normally provided in
| ${maven.home}/conf/settings.xml.
|
| NOTE: This location can be overridden with the system property:
|
| -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<!-- interactiveMode
| This will determine whether maven prompts you when it needs input. If set to false,
| maven will use a sensible default value, perhaps based on some other setting, for
| the parameter in question.
|
| Default: true
<interactiveMode>true</interactiveMode>
-->
<!-- offline
| Determines whether maven should attempt to connect to the network when executing a build.
| This will have an effect on artifact downloads, artifact deployment, and others.
|
| Default: false
<offline>false</offline>
-->
<!-- pluginGroups
| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
|-->
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
<pluginGroup>com.your.plugins</pluginGroup>
-->
</pluginGroups>
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
-->
</proxies>
<!-- servers
| This is a list of authentication profiles, keyed by the server-id used within the system.
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|-->
<servers>
<!-- server
| Specifies the authentication information to use when connecting to a particular server, identified by
| a unique name within the system (referred to by the 'id' attribute below).
|
| NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
| used together.
|
<server>
<id>deploymentRepo</id>
<username>repouser</username>
<password>repopwd</password>
</server>
-->
<!-- Another sample, using keys to authenticate.
<server>
<id>siteServer</id>
<privateKey>/path/to/private/key</privateKey>
<passphrase>optional; leave empty if not used.</passphrase>
</server>
-->
</servers>
<!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories.
|
| It works like this: a POM may declare a repository to use in resolving certain artifacts.
| However, this repository may have problems with heavy traffic at times, so people have mirrored
| it to several places.
|
| That repository definition will have a unique id, so we can create a mirror reference for that
| repository, to be used as an alternate download site. The mirror site will be the preferred
| server for that repository.
|-->
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
</mirrors>
<!-- profiles
| This is a list of profiles which can be activated in a variety of ways, and which can modify
| the build process. Profiles provided in the settings.xml are intended to provide local machine-
| specific paths and repository locations which allow the build to work in the local environment.
|
| For example, if you have an integration testing plugin - like cactus - that needs to know where
| your Tomcat instance is installed, you can provide a variable here such that the variable is
| dereferenced during the build process to configure the cactus plugin.
|
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
| section of this document (settings.xml) - will be discussed later. Another way essentially
| relies on the detection of a system property, either matching a particular value for the property,
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
| Finally, the list of active profiles can be specified directly from the command line.
|
| NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
| repositories, plugin repositories, and free-form properties to be used as configuration
| variables for plugins in the POM.
|
|-->
<profiles>
<!-- profile
| Specifies a set of introductions to the build process, to be activated using one or more of the
| mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
| or the command line, profiles have to have an ID that is unique.
|
| An encouraged best practice for profile identification is to use a consistent naming convention
| for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
| This will make it more intuitive to understand what the set of introduced profiles is attempting
| to accomplish, particularly when you only have a list of profile id's for debug.
|
| This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
<profile>
<id>jdk-1.4</id>
<activation>
<jdk>1.4</jdk>
</activation>
<repositories>
<repository>
<id>jdk14</id>
<name>Repository for JDK 1.4 builds</name>
<url>http://www.myhost.com/maven/jdk14</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
</profile>
-->
<!--
| Here is another profile, activated by the system property 'target-env' with a value of 'dev',
| which provides a specific path to the Tomcat instance. To use this, your plugin configuration
| might hypothetically look like:
|
| ...
| <plugin>
| <groupId>org.myco.myplugins</groupId>
| <artifactId>myplugin</artifactId>
|
| <configuration>
| <tomcatLocation>${tomcatPath}</tomcatLocation>
| </configuration>
| </plugin>
| ...
|
| NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
| anything, you could just leave off the <value/> inside the activation-property.
|
<profile>
<id>env-dev</id>
<activation>
<property>
<name>target-env</name>
<value>dev</value>
</property>
</activation>
<properties>
<tomcatPath>/path/to/tomcat/instance</tomcatPath>
</properties>
</profile>
-->
</profiles>
<!-- activeProfiles
| List of profiles that are active for all builds.
|
<activeProfiles>
<activeProfile>alwaysActiveProfile</activeProfile>
<activeProfile>anotherAlwaysActiveProfile</activeProfile>
</activeProfiles>
-->
</settings>

Similar Messages

  • Error -annotations are not supported in -source 1.3

    Hi friends, when I try to compile my src code using ANT ,
    it gives me this error :
    annotations are not supported in -source 1.3 -
    use -source 5 or higher to enable annotations)
                   @Override
    ^
    what is source 5...? If it is a jdk version than I am using jdk 1.6.X
    Plz help

    ANT is apparently compiling with the -source 1.3 option, meaning that the code must be compatible with java 1.3. Check the declaration of the javac ant task in your build file. It should have something like this:
    <javac source="1.3" ../>remove that attribute.

  • Generics are not supported

    Using Java Studio Enterprise 8.1.
    1. Have following code inside class MPoll.java:
    public class MPoll {
    private Vector<MQuestion> q;
    line selected in IDE as wrong with message: "generics are not supported in -source 1.4 (try -source 1.5 to enable generics)
    2.
    private MQuestion questions[];
    Following code throws NullPoinetrException:
    MQuestion x = new MQuestion();
    int i = 0;
    questions(i) = x; // Exception here
    3. Following code throws NullPointerException too:
    questions(i) = new MQuestion(); //Exception here
    object x created correctly.
    The task is to create analog of C++ vector<MQuestion>...
    ( == [
    ) == ]
    Message was edited by:
    BrotherFlame

    1. So change your compiler settings accordingly. How to do that would be written in the manual or help, or can be asked at the forums here: http://forum.java.sun.com/index.jspa?tab=devtools
    2. questions(i) = x; is no valid code.
    3. questions(i) = new MQuestion(); //Exception here
    is no valid code either.
    Neither would throw an NPE. Please post the real code, formatted.
    http://forum.java.sun.com/help.jspa?sec=formatting

  • ERROR:MapLib:973 - Tri-state buffers are not supported in this architecture.

    Hi,
    I face a ERROR:MapLib:973 problem with inout port in a pcore component.
    I need ton instantiate an inout port at the top level to communicate wih my peripherical.
    This inout port is driven by an XPS IP core (pcore).
    The .mpd is  :
    PORT fdata = "", DIR = INOUT , VEC = [31:0], ENABLE=SINGLE, THREE_STATE = TRUE,TRI_I = fdata_I, TRI_O = fdata_O, TRI_T = fdata_T
    PORT fdata_I = "", DIR = I , VEC = [31:0]
    PORT fdata_O = "", DIR = O , VEC = [31:0]
    PORT fdata_T = "", DIR = O
    The .vhd is :
    fdata_o : out std_logic_vector(31 downto 0);
    fdata_i : in std_logic_vector(31 downto 0);
    fdata_t : out std_logic ;
    I got ERROR:MapLib:973 - Tri-state buffers are not supported in this architecture messages for each
    signals of my fdata PORT, while mapping !
    Thanks for you help.

    What device are you targeting, and what version of the software are you using?
    I target a xc7k325t-fbg676-2.
    I use ISE 14.3 form platgen to xst and 14.7 from map to bitgen.
    What does your top level HDL (verilog or VHDL) file look like (where the IO must be instantiated)?
    It is a .vhd in whitch i wrapp my top XPS core, described by .mhs
    The problematic IO port is instantiated into the mb_core.vhd (generated by XPS).
    If i open it, i could see that the tool correctly infer the corresponding IOBUF's :
    component mapping :
    fdata_I => FX3_DQ_I,
    fdata_O => FX3_DQ_O,
    fdata_T => FX3_DQ_T,
    One IOBUF infered:
    iobuf_1 : IOBUF
    port map (
    I => FX3_DQ_O(31),
    IO => FX3_DQ(31),
    O => FX3_DQ_I(31),
    T => FX3_DQ_T
    Top level port :
    FX3_DQ : inout std_logic_vector(31 downto 0);
    THEN FX3_DQ  signal is dirrectly branched in my upper level (top level) vhd file, with the same name.
    What do your constraints file look like (where the pin number and names get declared)?
    The port is only constrained in .ucf, like that:
    NET FX3_DQ[0] LOC = "B24"| IOSTANDARD = LVCMOS33 ;
    NET FX3_DQ[31] LOC = "G26"| IOSTANDARD = LVCMOS33 ;#Bank 14
     

  • Syntax error: annotations are only available if source level is 5.0

    In eclipse, I am trying a hello world JMS tutorial.
    In the code below, it doesn't like the @ sign for some reason... And I don't know how to make it happy....
    It give this error:
    Syntax error: annotations are only available if source level is 5.0
    --------------code------------
    public class MessageSender {
       @Resource(mappedName = "jms/GlassFishBookConnectionFactory")
       private static ConnectionFactory connectionFactory;
    Here is my path if that helps.
    Path=C:\oracle\product\10.2.0\client_1\bin;C:\Program Files (x86)\Java\jre8\bin;c:\glassfish4\glassfish\bin;C:\Program Files (x86)\Java\jdk1.8.0\bin
    Thanks for any leads!
    Jim

    It give this error:
    Syntax error: annotations are only available if source level is 5.0
    That exception is telling you that the java compiler version being used to compile your java source is not 5.0 or later.
    Eclipse uses 'some' version of Java to run itself. And, by default, your java code will use that same version of java unless you configure it to use a different version.
    http://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM
    One of the most recommended options to use is to specify a specific JVM for Eclipse to run on. Doing this ensures that you are absolutely certain which JVM Eclipse will run in and insulates you from system changes that can alter the "default" JVM for your system. Many a user has been tripped up because they thought they knew what JVM would be used by default, but they thought wrong. eclipse.ini lets you be CERTAIN.
    Check the version of java that eclipse is using. Just because that version of java is not on your path doesn't mean eclipse isn't using it.
    Then repost your question in an eclipse forum.

  • Features that are not supported by Excel in the browser and interactive reports will be removed from the saved copy

    I Created a power view in Excel 2013 and uploaded to my Power BI for o365 site.
    But when i click on my excel file it opens in browser,After that i click on File tab its showing me two option 
    1. Save a Copy
    2.Download a copy
    When i click on save a copy its showing me an warning below
    Features that are not supported by Excel in the browser and interactive reports will be removed from the saved copy.
    Continue with Save?
    If i continue saving it only saves an excel files with data only not the power view which i want to save with applied filters.
    Please help me for this

    Just to clarify, when you hit the option of Save As Copy, the whole experience goes into a "read-write" mode in Excel services, which currently doesn't support authoring, just consumption of PowerView sheets.
    Two mitigations that come to mind:
    1. Download the copy (as Brad suggests), rename the file and upload.
    2. Use the send to option of SharePoint online, give the file the right target document library (can be the same as source) and rename the file:
    GALROY

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • Jdev 11g: several attributes are not supported by "simple" graph types

    Hi,
    My question is especially for Jdev development team. I want to discuss this issues first in this forum before I open a SR at Oracle Support.
    Several attributes from dvt:graph are not supported in dvt:areagraph, dvt:linegraph or dvt:bargraph.
    - TimeSelectorListener
    - TimeRangeMode
    - TimeAxisType --> supported for dvt:linegraph but not for dvt:areagraph. Why?
    - TimeAxisListener
    - TimeZone
    - ExplicitTimeRangeStart
    - ExplicitTimeRangeEnd
    - ContinuousTimeAxisInterval
    This means if I want (need) to use some of this attributes I need to use dvt:graph (advanced graph).
    But here is the next problem:
    This type of graph can't be selected from component palette or graph create wizard.
    It's still possible to "convert" e.g. a dvt:linegraph to dvt:graph by editing the source code of jspx but in my opinion this should not be the normal way!
    I also didn't get a clear answere if dvt:graph is desupported or will be desupported in the next release(s)
    (see my previous post about advanced graph: Jdev 11g: Advanced graph no longer supported?
    Conclusio:
    ======
    If the attributes I mention above are still supported and needed (also in further releases) than they either need to be supported by the relevant simple graph tags or dvt:graph must be selectable from component palette.
    If dvt:graph is planned to be de-supported in further releases than this should be made public to avoid development of applications with non-supported components.
    regards
    Peter

    Peter,
    you should have followed up on the thread you reference. First of all, Katia gave you the answer of how to get the listener working
    "The recommended way is to create a line graph, and then add a time selector tag (like Peter pointed out).
    However, since in the dvt:lineGraph there is no attribute for the time selector listener, you need to add the listener in the backing bean.
    Here are the code snippets:
    In jspx:
    <dvt:lineGraph id="master"
    value="#{bindings.master1Graph.graphModel}"
    style="Comet"
    imageFormat="FLASH" imageWidth="400"
    binding="#{sampleGraph.richTimeSelectorMasterGraph}"
    animationOnDisplay="AUTO"
    imageHeight="250">
    <dvt:legendArea rendered="false"/>
    <dvt:timeSelector explicitStart="#{sampleGraph.startDate}" explicitEnd="#{sampleGraph.endDate}" fillColor="#33FFFFFF" borderColor="#313675" mode="EXPLICIT" />
    <dvt:seriesSet defaultMarkerType="MT_CURVE_LINE">
    <dvt:series id="0" color="#FDB026"/>
    </dvt:seriesSet>
    </dvt:lineGraph>
    In the backing bean:
    public UIGraph getRichTimeSelectorMasterGraph()
    if (m_richTimeSelectorMasterGraph == null)
    m_richTimeSelectorMasterGraph = new UIGraph();
    m_richTimeSelectorMasterGraph.addTimeSelectorListener(this);
    return m_richTimeSelectorMasterGraph;
    public void setRichTimeSelectorMasterGraph(UIGraph graph)
    m_richTimeSelectorMasterGraph = graph;
    Second, you got Katia's attention already and this is as much developer contact you can get on this forum. Katia ia the product manager for DVT
    Frank

  • Firwirer connections are not supported?

    My ipod reads "firewire connections are not supported. To transfer songs connect the USB cable provided."
    I tried to copy a CD to my ipod. It was a copy of a CD from a friend from his ipod whch I guess is not compatable with mine. He ahs a PC. I have a mac. He ahs an old 60g ipod I have a new ipod culor 30 gb. My guess is that he has firwire connections and I have USB
    I now cant turn off the ipod. I can play it but the battery goes very quickly.
    It constantly reads the above message i.e firewire connected are not supported/
    I HAVE RESTORED FACTORY SETTINGS AND DELTED THE CD FROM MY ITUNES. WHAT can I do?

    Firewire connections are not supported. To transfer songs, connect the USB cable provided.
    That is the same message I'm receiving on my iPod as of yesterday. We've been on vacation for a week and the iPod has worked flawlessly, just like it has since the day I got it. That is, until yesterday.
    We were driving down the freeway when it started pausing, skipping, and generally giving me grief. I listen to it in the van via a connection through the cassette tape player. I've been using this set up since the day I got my 80gb video iPod.
    For whatever reason, that message simply started popping up. I can't seem to get the center button trick to work most of the time, but occasionally it will. No matter what I do, I can't turn off my iPod any longer. It has to simply go to sleep.
    So, I got home and the first order of business was using the option in iTunes to wipe the iPod clean, reset it to factory defaults, then reload all 60gbs worth of data onto it. I did that. I play around with it a bit this morning, but with nothing connected to it. It seemed to work fine and would turn off as normal.
    I connected it to the cassette adapter a short while ago, got about 2 miles down the road, now its doing the same thing again. Its giving the same error message, skipping/pausing, and won't allow me to turn it off.
    Help?

  • CSS type selectors are not supported in components ?

    If I put an <mx:Style> section in an MXML-based
    component, I get a number of warnings stating
    CSS type selectors are not supported in components. That
    said, the styles appear to actually work, and I'd sure
    like them to work. Is this a bug in the compiler, or is this
    truly not supported?

    Hi!
    I have the same problem when I apply a style to a Panel, I have a Canvas component and contains a Panel inside, but I fail to apply the css.
    I call the css from the main file main.mxml, but when I load the component will give a warning message and does not apply the style. "CSS type selectors are not supported in components: 'Panel' "
    This is file main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          xmlns:comp="components.*" backgroundAlpha="0" horizontalScrollPolicy="off">
         <mx:LinkBar dataProvider="myComp" horizontalCenter="0" y="380"/>
         <mx:ViewStack id="myComp" horizontalCenter="0" resizeToContent="true">
               <comp:component_01 height="100%" width="85%" label="HOME"/>
               <comp:component_02 height="100%" width="85%" label="GALLERY"/>
               <comp:component_03 height="100%" width="85%" label="TECHNOLOGY"/>
          </mx:ViewStack>
         <mx:Style source="skin_prototype02.css"/>
    </mx:Application>
    File component_02.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
          <mx:Panel title="Photo gallery" x="10" y="10" width="575"
                horizontalScrollPolicy="off"> 
          </mx:Panel>
    </mx:Canvas>

  • How to Overcome DomainOperationEntry overloads are not supported in C#

      Hi Team ,
    I have a assigmmnet to finsh . requerment is
    1) I have to Comboboxes one is cmbDomain , second one is cmbSubDoamin
      based on selected value in cmbDoman , cmbSubDoamin has to fill.
     for this  I  am  using WCFRIA Serivice
    In sercive I have two methods like bellow.
    //for Domain
    public IQueryable<DomainGroup> GetDomainGroups()
    return this.ObjectContext.DomainGroups;
    // for SubDoamin
    public IQueryable<Domain> GetDomains()
    return this.ObjectContext.Domains;
    //for subdomain based on selected value in Domain
    public IQueryable<Domain> GetDomains(string selectedDomain)
    return this.ObjectContext.Domains.Where(x => x.Title.ToUpper() == selectedDomain.ToUpper());
    in Silverlight i implimented bellow code
    <riaControls:DomainDataSource x:Name="source" QueryName="GetDomainGroups" AutoLoad="True"> <riaControls:DomainDataSource.DomainContext>
    <domain:DomainService1/> </riaControls:DomainDataSource.DomainContext>
    </riaControls:DomainDataSource>
    <riaControls:DomainDataSource x:Name="SubDomainSource" QueryName="GetDomains" AutoLoad="True">
    <riaControls:DomainDataSource.DomainContext>
    <domain:DomainService1/> </riaControls:DomainDataSource.DomainContext>
    <riaControls:DomainDataSource.QueryParameters>
    <riaControls:Parameter ParameterName="selectedDomain" Value="{Binding Path=SelectedValue,ElementName=cmbDomain}"/> </riaControls:DomainDataSource.QueryParameters>
    </riaControls:DomainDataSource>
    <StackPanel Orientation="Vertical">
    <!--<sdk:DataGrid x:Name="domainGrid" ItemsSource="{Binding Data, ElementName=source}" Height="200" Width="200"/>-->
    <sdk:Label Content="Domain"/>
    <ComboBox x:Name="cmbDomain" ItemsSource="{Binding Data,ElementName=source}" DisplayMemberPath="Title" Height="50" Width="100"></ComboBox>
    <sdk:Label Content="Sub Domain"/>
    <ComboBox x:Name="cmbSubDomain" ItemsSource="{Binding Data,ElementName=SubDomainSource}" DisplayMemberPath="Title" Height="50" Width="100"></ComboBox>
    </StackPanel>
     if any one help it could be a great support for me .
    Srilatha

    You can't use overloads.
    You need to rename one of your GetDomains:
    public IQueryable<Domain> GetDomains()
    return this.ObjectContext.Domains;
    //for subdomain based on selected value in Domain
    public IQueryable<Domain> GetDomains(string selectedDomain)
    return this.ObjectContext.Domains.Where(x => x.Title.ToUpper() == selectedDomain.ToUpper());
    from
    https://msdn.microsoft.com/en-us/library/ee707366%28v=vs.91%29.aspx?f=255&MSPPError=-2147217396
    General Rules for using Inheritance            
    The following rules apply to using inheritance with RIA Services.
    Inheritance is supported only for entity types. Non-entity types are treated as the type specified in the domain service operation signature.
    Interface types are not supported for return values or parameters in domain service operations.
    The set of types in an inheritance hierarchy must be known at the time of code generation. The behavior for returning a type not specified at the time of code generation is unspecified and implementation-dependent.
    The virtual modifier on public properties and fields for an entity type is permitted but ignored when generating the corresponding entity type on the client.
    Method overloads for domain service operations are not permitted.
    The new (C#) and Shadows (Visual Basic) keywords on public properties are not allowed on entity types and will result in an error when client code is generated.
    LINQ query capabilities related to inheritance cannot be translated for execution of domain service methods. Specifically,
    OfType<T>, is,
    as, and GetType() operators and methods are not supported.  However, these operators may be used directly against
    EntitySet or
    EntityCollection<TEntity> in LINQ to Objects queries.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Reports older than version 9 are not supported

    Hello,
    I tried to access crystal reports rpt files from java client application:
    reportClientDoc.open(filename,0);
    and I got the following error meassage as ReportSDKException:
    Reports older than version 9 are not supported.
    I am using the jar files of the here downloaded JRC pack as runtime libraries (actually in NetBeans IDE 7.2.1).
    I tried the followiing packs:
    crjava-runtime_12.2.217 : SAP Crystal Reports for Java Runtime Components - Java Reporting Component (JRC)
    and
    JRC 11.8
    giving similar error message.
    Is there any older pack available for download prior of Crystal Reports version 9 ?  I could not find for very long search.
    Or is there any other possibilty to access such RPT files from java? (Actually these file are generated by IBAK-IKAS Sewer Inspection Software).
    I suppose VisualStudio is a possibility (which version?), but java would be better for us on our operation system platform.
    thanks for any tip
    Marcell

    Ted,
    I am actually using your JSP page code from "Ensuring Report Cleanup" blog.
    All my reports have a date stamp of 2006-2009, so they are fairly recently.
    And they are 3rd party, not sure I can modify them (technically or legally)
    I tried to open several other reports (with more recent datestamp), and got exceptions like:
    Error
    Error finding JNDI name (CSGSQL_2K5) 
    What might be causing that and how to fix it?
    (I try to open it from file system, not RAS. Running JSP on Tomcat6. maybe some XML config file missing?)
    Does it mean that this report is not too old for CRViewer12, so we are one step further ?
    Also, how do I pass info to that report via JSP (DB connection, parameters, etc)?
    Any good documentation/books on working with CRViewer 12 with JSP ?
    I could only find books on how to use CR with .NET. 
    Sorry for the newbie questions, very new to CR.
    TIA,
    Oleg.

  • Error message: "FireWire connections are not supported.  To transfer songs"

    I recently purchased a Monster iCarPlay to play my ipod in my car. I have had no problems until recently. Upon disconnecting my ipod from the iCarPlay wire, I the following message popped up: "FireWire connections are not supported. To transfer songs, connect the USB cable provided." It also prompts me to click the center button to dismiss the message. However, I'vd followed these instructions, and the message does not go away. Does anyone know what I can do to resolve this problem? Or is it anything to worry about?

    That is the message you see when you attach a 5th gen iPod to a computer using FIREWIRE. so... i suspect that for some reason, the 3rd party iCarPlay device must be confusing the iPod into thinking it is being docked or attached to a data line of some type and not simply charging.
    As for the sudden occurrence of the message, it does seem strange however, keep in mind that you are using a 3rd party device that may not be supported or endorsed by Apple at all.
    Beavis2084

  • "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".

    I have some folders in iPhoto called 'Recovered Folder'. When I try to delete them I get this message: "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".
    I don't use Aperture (did install it to try it out), and have deleted Aperture App from my Mac.
    How can I get rid of these fodlers?

    i finally figured this out:
    fyi, iphoto and aperture can now share (i.e., access) the same library. apple details it here:
    http://support.apple.com/kb/HT5260?viewlocale=en_US&locale=en_US
    i use both iphoto and aperture, and i suspect something went amiss, at some point, while aperture was accessing my iphoto library.
    this is how i fixed the problem:
    i launched aperture, then (per the instructions linked above) switched to (i.e., accessed) my iphoto library. i was then able to delete the "recovered folder" and the album it contained. i then quit aperture and relaunched iphoto.
    NOTE: at that time, although i expected the "recovered folder" to be gone, it was still present. but this time, i was able to delete the folder from within iphoto without the "contains aperture items" error message.
    (Sparky030405, i realize you've since deleted aperture. while i can't say my method is the *only* way to solve this problem, it's the way i was able to solve it. so, you might consider reinstalling aperture in order to delete the folder, then uninstalling aperture, once again.)

  • I have just transfered 2 dvd movies i purchases with digital copies to my itunes account and now i am trying to put them om my ipad it keeps telling me that these movies are not supported on my ipad.  what can i do?

    I have just transfered 2 dvd movies i purchases with digital copies to my itunes account and now i am trying to put them om my ipad it keeps telling me that these movies are not supported on my ipad.  what can i do?

    Highlight the movie, go to iTunes menu ADVANCED and select create iPad and AppleTV version.

Maybe you are looking for

  • Important Microsoft Office 2011 Excel File isn't opening Please Help!

    Hello everyone, I'm having problems opening one single excel file. I've tried others and they open with no issue. This file I'm trying to open now opened 2 days ago as it's a project I've been working on and I desperately need to get back to working

  • ITunes 9.2 Hanging on "Restoring iPhone Frimware.."

    Sorry if this has been posted before Whenever I run iTunes and try to update any of my devices (iPad, iPhone 3GS & 4 or iPod Touch) the pop up window gets as far as "Restoring iPhone Firmware.." The progress bar get to about 4mm away from being full

  • How to get variants for ALV List or Grid?

    Hi, I have one standard program RGJVSO10, for 4.6c, to diplay variants they r using fm GJ_LIST_VARIANT_VALUE_HELP, where they r passing table name and get the variants. But in ECC6.0 for the same program they r using FM REUSE_ALV_VARIANT_F4, but the

  • Upgrade fee fraud?

    Is this fraud? I can see (now) that Verizon has an upgrade fee -- outrageous as it is to label less service an 'upgrade' -- but isn't it illegal or fraudulent to hide it? I bought my new phone (after 5 years with my old phone and 15 years with Verizo

  • Buttons change to colors I didn't request

    I have several buttons in my menu, they are BrushMed from the Palette's Shapes -> Apple. The buttons are all the same style and have identical parameters except for the things that should be different, like coordinates, text, asset, and navigation. I