Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8490895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:15:31+00:00 2026-06-10T22:15:31+00:00

I have an OSGi reference in my spring-context.xml cofiguration file. When I specify: <osgi:reference

  • 0

I have an OSGi reference in my spring-context.xml cofiguration file. When I specify:

<osgi:reference id="cxfInboundLoggingInterceptor" interface="com.groupgti.esb.cxf.interceptors.MessageLoggerInbound" />

IntelliJ says that: Attribute id is not allowed here. My osgi prefix is pointing to this schema: xmlns:osgi="http://www.springframework.org/schema/osgi"

And schema location:

http://www.springframework.org/schema/osgi                  http://www.springframework.org/schema/osgi/spring-osgi.xsd

From Spring OSGi documentation:

The <osgi:reference> element is used to define a local bean that acts as a proxy to an OSGi service (or set of services). The only required
attributes are id (which defines the name of the local bean) and
interface (which defines the fully qualified name of the interface
that the target service is registered under).

So I see that id is required, but why then IntelliJ is complaining about it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:15:33+00:00Added an answer on June 10, 2026 at 10:15 pm

    I noticed that osgi xsd does

    <xsd:import namespace="http://www.springframework.org/schema/beans"/>
    <xsd:import namespace="http://www.springframework.org/schema/tool"/>
    

    and for me they are not found. But even when you set them up it does not seem to work.

    You probably need to file a bugreport for IntelliJ at http://youtrack.jetbrains.com/issues/IDEA.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Spring bean which is declared like this: <osgi:reference id=basicAuthSecurityHandler interface=com.groupgti.handler.authentication.basic.Handler/> <bean
I have an OSGi application which has a command line interface and a GWT
I try to get file as resource from bundle jar using Felix/OSGi. I have
Is it possible to apply an AOP aspect in an OSGI reference? I have
I have a WAR file that was built using grails framework and OSGi plugin.
I have several Maven modules with Vaadin library dependency in the root pom.xml file.
I am moving my spring-java project to osgi. I have some dependencies which are
I have been researching OSGI to determine its viability for updating an existing project.
I have been working on getting my OSGi application to run outside eclipse. It
I have a server application that consists of multiple OSGi bundles, some mine, some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.