Announcement Announcement Module
Collapse
No announcement yet.
SimpleHttpServerFactoryBean cannot resolve util:map Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SimpleHttpServerFactoryBean cannot resolve util:map

    I've been working though some of the examples here. http://static.springsource.org/sprin.../remoting.html. I got the RMI example to work, so I wanted to try the HTTP invoker next. I am not running under a servlet container (my application is a standalone), so I added this element to my beans.xml file from the example in 19.4.1 :

    Code:
    <bean id="httpServer"
    		class="org.springframework.remoting.support.SimpleHttpServerFactoryBean">
    		<property name="contexts">
    			<util:map>
    				<entry key="/remoting/AccountService" value-ref="accountExporter" />
    			</util:map>
    		</property>
    		<property name="port" value="8080" />
    </bean>
    The STS is flagging an error on the <util:map> element saying :
    The prefix "util" for element "util:map" is not bound.
    I'm not really sure what to do to continue.

    Matt

  • #2
    Got it. Solution to import the util schema is here.

    http://static.springsource.org/sprin...sd-config.html

    Comment

    Working...
    X